Rector PHP early return rule and contributing open source

Опубликовано: 10 Октябрь 2024
на канале: Never Code Alone
709
11

In this Rector PHP live coding tutorial, you will learn how to add an early return ruleset with 11 refeactoring rules, in order to achieve a better readability. Rector PHP 8.1 rules can refactor legacy projects to a new level.

In this PHP full course you also see a little Git tutorial for beginners with a git diff from command line and the Gitkraken pro tool. Finally, you will also learn how to contribute open source projects with Rector PHP.

These type of quality, in-depth Rector PHP tutorials you will only find on our channel. Roland Golla is a PHP consultant for testing and refactoring - with a passion to teach his audience a lot of new skills. The Never Code Alone channel will publish a new video every monday!

00:00 Intro Rector PHP for refactoring und learing new skills with Roland Golla
01:07 Overview Reactor Rules, Rulesets and Rules on GitHub
01:30 Add Early Return Rector PHP ruleset to a Symfony PHP 8 project
02:15 How Reactor PHP works, best practice examples for early returns
02:39 Why early return statements make sense in PHP methods
03:15 Reactor PHP brings me new skills for better PHP development
04:25 Add a new Rector rule with set list to rector.php file
05:19 Dry run and use Reactor PHP as a GitLab pipeline qualitygate
07:40 Refactor process from command line without dry run
08:20 Git diff view with GitKraken
09:55 oh-my-zsh terminal git diff view
11:05 Git commit changes in rector config file and the files from refactoring
12:16 Contributing open source with new rector rules
15:17 Helpful sources for starting contribution open source
15:54 Outro words from Roland and end

Our NCA Event Highlights & Live Sessions:

   • Serverless Database Pipeline mit DB B...  

Seid bereit, euer PHP-Projekt zu revolutionieren? Meldet euch jetzt für den NCA RuhrRefactoring Team Workshop an und lasst den Legacy Code hinter euch: https://nevercodealone.de/de/php-trai...

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Here you can find our social media channels:

► Twitter:   / nevercodealone  
► Instagram:   / nevercodealone  
► LinkedIn:   / never-code-alone  
► Facebook:   / nevercodealone  

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

These are our websites:

► Never Code Alone offers free and commercial live coding events and advanced PHP courses and supports social projects https://nevercodealone.de

► TESTIFY - Website Testing Agency with Cypress.IO and Codeception Testing Framework https://testify.team/

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

You want to support Never Code Alone?
Then feel free to leave us a subscription and write your questions and/or suggestions in the comments.

Thanks for watching!
I hope you enjoyed the video.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Contact: [email protected]

#phptutorial #phptutorials #php8 #opensource