Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PHP-CS-FixerとかAtomとか
Search
onigra
February 22, 2017
Programming
1.5k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PHP-CS-FixerとかAtomとか
PHPBLTT#6
onigra
February 22, 2017
Transcript
34 slides
PHP-CS-Fixerͱ͔Atomͱ͔ PHPBLT#6 2017-02-22 @onigra_
onigra Yudai Suzuki / ླ༤େ onigra_
ԿͬͯΔਓ͔ؒʁ • Rubyist • DevOps • Vimmer • ଞͷϓϩδΣΫτͷαϙʔτͱ͔ •
2ϲ݄͙Β͍લʹଞϓϩδΣΫτͷαϙʔτͰॳΊͯ PHPͷڥߏஙͨ͠
ॳɺPHPͷLinuxڥߏஙͷ Λ͠Α͏ͱࢥ͚ͬͯͨͲ
php.iniͱ͔ωΨςΟϒͳ ͕ଟ͘ͳΓͦ͏ͳͷͰ Ί·ͨ͠
͋Δɺ αϙʔτͯ͠ΔϓϩδΣΫτ ʹͯ
ίʔσΟϯάελΠϧͷ ʹͳͬͨ
ᐌ͘ɺผͷϓϩδΣΫτͱ ن͕ҧͬͯࠞཚ͢Δ
ϑΥʔϚολʔೖΕͯ ΤσΟλͷอଘ࣌ʹ ࣮ߦ͢Ε͍͍͡ΌΜ
୳ͨ͠Β PHP-CS-Fixerͬͯͷ͕͋Δ https://github.com/FriendsOfPHP/PHP-CS-Fixer
Atom͔Β͍͍ͨΒ͍͠
୳ͨ͠Β atom-beautifyͬͯͷ͔Β PHP-CS-FixerݺΔ https://atom.io/packages/atom-beautify
ͬͯΈΔ
ಈ͔ͳ͍
https://gist.github.com/Skysplit/26a2a0ed86922f11986dabd5ee7039b5
https://gist.github.com/Skysplit/26a2a0ed86922f11986dabd5ee7039b5
PHP-CS-Fixer͕ 2016-12-01ʹVersion2ʹͳͬͨ • --fixersΦϓγϣϯ--levelͱڞʹ--rulesʹ౷߹͞Εɺ ༻ෆՄʹͳͬͨ • https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/ master/UPGRADE.md • Issue͋Δ͕ɺPRແ͍
• https://github.com/Glavin001/atom-beautify/issues/ 1465
…
ݴ͍ग़ͬ͠ͳͷͰ ύονૹΔ͔
None
ύονૹͬͨ https://github.com/Glavin001/atom-beautify/pull/1511
͍ͭͰʹɺWindowsҎ֎ͩͱ ΦϓγϣϯͰPHP-CS-Fixerͷ ύεࢦఆ͕ޮ͔ͳ͍ όάͨ͠ https://github.com/Glavin001/atom-beautify/pull/1510
͍ͭͰʹɺWindowsڥͷ CI(AppVeyor)Ͱ ڥߏஙʹࣦഊͯ͠ΔͷΛ ͨ͠ https://github.com/Glavin001/atom-beautify/pull/1516
None
Α͔ͬͨͰ͢Ͷ
None
େมͦ͏ͳͷͰ ͕Μͬͯ΄͍͠
·ͱΊ
VimPhpStormͬͯ͘Ε པΉʂʂʂʂ
PhpStorm • ͡Ί͔ΒίʔυϑΥʔϚολʔ͍ͭͯΔ͠ɺ ઃఆ߲ࡉ͔͍ • ΧελϚΠζ͢ΕPHP-CS-FixerݺΔ • BladeςϯϓϨʔτʹରԠʢຊ͜Ε͕΄ ͔ͬͨ͠ʣ
Ͳ͏ͯ͠AtomͰ PHPॻ͖͍ͨʁ
php-cs-fixerͷํͬͯ͘Ε པΉʂʂʂʂ
php-cs-fixer (Atom Package) • https://atom.io/packages/php-cs-fixer • ͱͬ͘ʹV2ରԠͯ͠Δ • PHP-CS-FixerΛ͏ͨΊ͚ͩͷϥΠϒϥϦͳ ͷͰɺ୯७ʹPHP-CS-FixerΛΤσΟλ͔Β
͏͚ͩͩͬͨΒɺͬͪ͜ͷํ͕ྑ͍ͱࢥ͏
ࠓ͍ͨ͜͠ͱ • LaravelͷσϓϩΠ • Laravelͷ.envͷѻ͍ • PHPϓϩδΣΫτͰδϣϒΩϡʔԿͬͯ·͢ ͔ʁ
More Decks by onigra
See All by onigra
THE GOAL
onigra
3
240
devsumi-2024-summer
onigra
5
3.3k
第一種低層住居専用地域
onigra
0
370
jaws-ug-ecspresso-meetup-20230808
onigra
0
2.4k
ginza-ruby-kaigi-01
onigra
3
1.2k
プログラミング初心者でも始められるコミュニティへの参加と貢献
onigra
4
880
Techblog Deep Dive Meetup #1
onigra
0
2.1k
とある業務オペレーション自動化の話
onigra
0
1.1k
about tsudura
onigra
0
380
Other Decks in Programming
See All in Programming
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
160
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
500
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
150
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
12k
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
270
SODA - FACT BOOK(EN)
sodainc
1
270
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6.1k
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
360
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
310
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
140
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
Featured
See All Featured
Making Projects Easy
brettharned
120
6.9k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
Practical Orchestrator
shlominoach
192
12k
Leo the Paperboy
mayatellez
11
2.5k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
Building Adaptive Systems
keathley
44
3.3k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
360
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
Technical Leadership for Architectural Decision Making
baasie
4
650