
Roland Golla
PHP Consultant
CYPRESS.IO Ambassador und IT Consultant für QA Engenieering und Qualität in PHP Projekten.
Welcome to Never Code Alone, your expert for PHP refactoring.
We help organisations to make their existing PHP applications more efficient, secure and future-proof.
Our service improves performance, reduces technical debt and lays the foundation for future development. Let us modernise and optimise your web application together.
PHP refactoring is the process of improving existing code without changing the external behaviour of the application. It aims to make the code more understandable, maintainable and efficient. Typical goals of refactoring are to reduce technical debt, improve performance and create a scalable and secure code base.
Technical debt arises when unclean or inefficient code patterns are introduced over time, which save time in the short term but make further development more difficult in the long term. Refactoring makes it possible to reduce these debts step by step.
We follow a proven and structured approach to optimise your PHP application:
1. initial code analysis
We start with a comprehensive code analysis to identify vulnerabilities, technical debt and performance issues. We use static code analysis tools such as PHPStan or Psalm, which help us to recognise potential problems at an early stage.
2. modular refactoring
Instead of refactoring the entire code at once, we carry out the refactoring in small, incremental steps. This ensures that your application continues to run during the process and remains functional at all times.
3. test-driven development (TDD)
Every code change is accompanied by automated tests to ensure that no new errors are introduced. We rely on unit tests, integration tests and functional checks to ensure the quality of the changes.
4. parallel feature development
During refactoring, new features can be developed without jeopardising the stability of the application. Our approach makes it possible to reduce technical debt while delivering new features to your users.
Clean and optimised code is the basis for a powerful, maintainable and future-proof web application. PHP refactoring offers numerous benefits that not only improve the efficiency of your development team, but also ensure the long-term stability and scalability of your application. From reducing technical debt to improving performance, here are the key benefits PHP refactoring can bring to your organisation.
Refactoring can be necessary in many situations. Here are some typical cases in which PHP refactoring is particularly useful:
When the introduction of new functions becomes increasingly difficult and time-consuming because the existing code is difficult to understand and unstructured.
Recurring errors and bugs often indicate an unstable code base that urgently needs to be optimised.
Applications that run on older PHP versions or outdated libraries are more susceptible to security vulnerabilities and performance problems.
Too many dependencies and a high level of complexity in the code make maintenance and further development extremely difficult.
Unclean code significantly increases the familiarisation time of new team members. Refactoring makes the code easier to read and understand, which boosts the productivity of new developers.
If your application is based on an outdated architecture or one that is difficult to extend, refactoring is necessary to modernise the structure. This helps to integrate new technologies more easily and make the application future-proof.
In this section, we answer the most frequently asked questions about PHP refactoring. Find out more about the various strategies, best practices, tools and technologies used and the benefits that refactoring offers for your web applications.
There are two common approaches to PHP refactoring: incremental refactoring and big-bang refactoring. With incremental refactoring, the code is improved step by step, minimising risk and ensuring that the application remains functional at all times. This is the preferred approach as it ensures continuity of operations while allowing for incremental improvements. Big-bang refactoring, on the other hand, involves a complete overhaul of the code all at once. This approach carries higher risks and is often only used when the existing code is extremely confusing or difficult to maintain. It requires the application to be unavailable for a period of time until the new code has been fully implemented.
In PHP refactoring, there are several best practices that ensure that the improvements are sustainable. One of these is the single responsibility principle, which states that each class and method should only have one clearly defined task. This increases the maintainability and readability of the code. Another important aspect is the modular architecture, which is achieved through the use of MVC patterns or service layers. This improves the structure and scalability of the code. It is also crucial that the application is based on modern PHP versions in order to benefit from performance and security updates. Finally, automating tests is a best practice to ensure that code changes do not introduce new bugs. This makes the entire refactoring process more efficient and stable.
We use a variety of tools and technologies for effective PHP refactoring. PHPStan and Psalm, for example, are powerful static analysis tools that help to recognise vulnerabilities and security gaps in the code at an early stage. The PHPStorm IDE also plays a central role, facilitating refactoring processes such as renaming classes and methods or automatic code review. Rector is another tool that migrates the code to modern PHP versions and helps to replace obsolete functions. Finally, we integrate the refactoring process into CI/CD pipelines such as GitLab CI or Jenkins to ensure that all changes are thoroughly tested before they go into production.
The integration of Continuous Integration (CI) into the PHP refactoring process makes work more efficient and safer. CI tools such as GitLab CI, Jenkins or CircleCI make it possible to automatically test every code change, thereby continuously ensuring the quality and stability of the application. This process reduces the risk of errors and unexpected problems and ensures that improvements are implemented gradually and smoothly. Automated tests and the integration of code analysis tools ensure that the code remains at a consistently high level of quality.
The duration of a PHP refactoring varies depending on the complexity of the project. Simpler applications can be refactored in a few weeks, while complex systems can take several months. The amount of technical debt is a decisive factor: the more outdated or unclean code there is, the more time is needed for optimisation. In addition, the duration can be extended if new features have to be developed in parallel. We work transparently throughout the entire process and keep you regularly updated on progress with status reports.
In DevOps and cloud environments, PHP refactoring plays an important role in optimising the application. Refactoring allows monolithic applications to be converted into smaller, easy-to-maintain microservices that can be operated in container platforms such as Docker or Kubernetes. This not only makes maintenance easier, but also improves scalability. Refactoring also makes the application better optimised for use in cloud environments such as AWS or Google Cloud, resulting in more efficient use of resources and lower operating costs.
Although PHP refactoring is primarily aimed at improving the code, it also has positive effects on search engine optimisation (SEO). One of the most important benefits is the reduction in loading times, as optimised code is executed faster. Google favours fast websites and rewards them with better rankings. In addition, refactoring leads to error-free and more stable applications, which in turn leads to a better user experience and less downtime - an important factor for SEO rankings. Finally, a cleaner and better structured code base facilitates indexing by search engines, which can also lead to a higher ranking.
We specialise in refactoring and updates in PHP projects. We have many years of experience from a wide range of customer projects. We regularly support teams with our PHP consulting in remote training courses and workshops or act as an extension of the (project) team.
We are experts in PHP and help you to master your digital challenges. Our experienced team supports you with PHP updates, PHP refactoring and advises you remotely on all questions relating to PHP. With our fully automated CI/CD deployments and a robust Docker infrastructure, we take your PHP projects to the next level. Rely on our expertise for reliable and scalable PHP solutions.
Live Coding Tutorials mit Roland Golla
PHPStan und BodyScan sind entscheidende Tools für TYPO3-Entwickler, die in der AI Suite Extension von den Autodudes ihre AI-Features ins TYPO3-Backend integrieren wollen. In diesem Video zeige ich dir, wie du das initiale Setup dieser Tools korrekt durchführst. Wenn du regelmäßig mit TYPO3 arbeitest und AI-Tools wie ChatGPT, Anthropic, oder MidJourney in dein Backend integrieren möchtest, ist dieses Tutorial genau das Richtige für dich. Ich erkläre dir Schritt für Schritt, wie du PHPStan und BodyScan einrichtest, und gebe dir wertvolle Tipps, um Fehler zu vermeiden. Hinterlasse gerne einen Kommentar, wenn du Fragen hast oder weitere Anleitungen zu diesem Thema sehen möchtest. Welche AI-Features nutzt du bereits in deinem TYPO3-Backend? Lass uns in den Kommentaren darüber diskutieren! 00:00 PHP lernen für Anfänger mit Composer PHPStan für eine TYPO3 Extension installieren. 00:43 GitKraken Diff View für Composer und PHPStan Neon Config 01:51 Outro mit PHP Consultant Roland Golla Neue Videos: Zweimal wöchentlich veröffentliche ich hier Live-Coding-Tutorials und alles als Open Source. Falls du den Kanal noch nicht kennst, folge gerne und schalte die Glocke ein, um keine neuen Videos zu verpassen! ChatGPT Playlist: https://www.youtube.com/watch?v=Rfh8DSpRYIM&list=PLKrKzhBjw2Y9WAmajKpaE8mzQ2UpY1UYu Cypress.IO Live Coding Tutorial Playlist: https://www.youtube.com/watch?v=mb_PTxDeJKI&list=PLKrKzhBjw2Y9ceCxO3ollOc4eIVPAjiHs Vim Playlist: https://www.youtube.com/playlist?list=PLKrKzhBjw2Y-9sCNpvbg3BY9v4JRc6fgn Tailwind Playlist: https://www.youtube.com/playlist?list=PLKrKzhBjw2Y92eHOPEfwwZmAkxxcGr-yi ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Hier geht es zu unseren Social-Media-Kanälen: ► Patreon: https://patreon.com/nevercodealone ► Twitter: https://twitter.com/nevercodealone ► Instagram: https://www.instagram.com/nevercodealone/ ► LinkedIn: https://www.linkedin.com/company/never-code-alone/ ► Facebook: https://www.facebook.com/nevercodealone ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Das sind unsere Webseiten: ► Never Code Alone bietet kostenlose und kommerzielle live Coding Events und PHP Kurse für Fortgeschrittene an und unterstützt soziale Projekte https://nevercodealone.de ► TESTIFY - Agentur für Website Testing mit Cypress.IO und dem Codeception Testing Framework https://testify.team/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Du möchtest Never Code Alone unterstützen? Dann lass uns gerne ein Abo da und schreibe deine Fragen und/oder Anregungen in die Kommentare. Danke fürs zuschauen! Ich hoffe das Video hat dir gefallen.
PHPStan Body Scan ist ein mächtiges Tool, das dir hilft, die Qualität deines PHP-Codes signifikant zu verbessern. In diesem Video zeigen wir dir, wie du PHPStan in deinem TYPO3-Extension-Development-Context nutzen kannst, um kritische Fehler zu identifizieren und Schritt für Schritt auf die höheren Levels zu gelangen. Wir gehen detailliert auf die verschiedenen Levels ein, die PHPStan überprüft, und erklären, warum es so wichtig ist, auf Level 5 oder höher zu kommen, bevor man tiefere Refactorings vornimmt. Das Video bietet auch praktische Tipps, wie du PHPStan in deine Entwicklungsumgebung integrieren kannst, um die Qualität deiner Projekte zu steigern. Was sind deine Erfahrungen mit PHPStan? Hast du es bereits in deinen Projekten eingesetzt? Teile deine Gedanken und diskutier mit uns in den Kommentaren! Lass uns wissen, welche Herausforderungen du bei der Code-Analyse siehst und wie du sie gelöst hast. 00:00 Live Run PHPStan Bodyscan in TYPO3 Extension für statische Code Analyse 01:50 Auswertung der PHPStan Level Analyse und Best Practice für den Start für ein PHP Refactoring 02:38 Level in PHPStan und wie Legacy Code abgebaut werden kann 04:07 Contributing Open Source in PHP Projekten mit PHPStan die eigene Arbeit deutlich verbessern 04:59 Outro mit PHP Consultant Roland Golla aus Duisburg Neue Videos: Zweimal wöchentlich veröffentliche ich hier Live-Coding-Tutorials und alles als Open Source. Falls du den Kanal noch nicht kennst, folge gerne und schalte die Glocke ein, um keine neuen Videos zu verpassen! ChatGPT Playlist: https://www.youtube.com/watch?v=Rfh8DSpRYIM&list=PLKrKzhBjw2Y9WAmajKpaE8mzQ2UpY1UYu Cypress.IO Live Coding Tutorial Playlist: https://www.youtube.com/watch?v=mb_PTxDeJKI&list=PLKrKzhBjw2Y9ceCxO3ollOc4eIVPAjiHs Vim Playlist: https://www.youtube.com/playlist?list=PLKrKzhBjw2Y-9sCNpvbg3BY9v4JRc6fgn Tailwind Playlist: https://www.youtube.com/playlist?list=PLKrKzhBjw2Y92eHOPEfwwZmAkxxcGr-yi ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Hier geht es zu unseren Social-Media-Kanälen: ► Patreon: https://patreon.com/nevercodealone ► Twitter: https://twitter.com/nevercodealone ► Instagram: https://www.instagram.com/nevercodealone/ ► LinkedIn: https://www.linkedin.com/company/never-code-alone/ ► Facebook: https://www.facebook.com/nevercodealone ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Das sind unsere Webseiten: ► Never Code Alone bietet kostenlose und kommerzielle live Coding Events und PHP Kurse für Fortgeschrittene an und unterstützt soziale Projekte https://nevercodealone.de ► TESTIFY - Agentur für Website Testing mit Cypress.IO und dem Codeception Testing Framework https://testify.team/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Du möchtest Never Code Alone unterstützen? Dann lass uns gerne ein Abo da und schreibe deine Fragen und/oder Anregungen in die Kommentare. Danke fürs zuschauen! Ich hoffe das Video hat dir gefallen.
Mit Rector PHP Symfony Webservices automatisiert refactorn. Das zeigt Roland Golla in diesem PHP Tutorial. Dazu wird rector mit Captaion Hook für GitHook in den loklen Worksflow integriert und als weitere Qualitygate Stage in die GitLab Pipeline eingeführt. 00:00 Intro Symfony Webservices Refactoring mit Rector PHP und Roland Golla 01:08 DDEV Start für lokales PHP Environment 02:07 Webservices für Wordpress, YouTube und Twitter 04:42 Composer Requirement Probleme lösen und Rector PHP und PHPStan installieren 11:15 Rector Init und Basis Configuration 12:36 Ruleset PHP 74 als Dry Run mit Rector PHP 15:27 Captaion Hook und GitLab CI mit Rector PHP als Qualitygate erweitern 20:56 Auto Refactoring mit Rector PHP für alle PHP74 Best Practice Rules 25:28 Coding Style Ruleset hinzufügen 28:11 Early Return Ruleset hinzufügen und mit Dry Run anschauen und dann Autorefactoring dürchführen 34:43 GitLab Pull Request formulieren und Code Review durchführen 37:46 Syntax Error analysieren und korrigieren 43:34 Git Merge Force in GitLab Pipeline 44:22 Outro und Fazit mit Roland Golla Unsere NCA Event Highlights & Live Sessions: https://www.youtube.com/watch?v=EJSGme-kH8M&list=PLKrKzhBjw2Y-d1-bxY1yQZG-mcRMQHue1 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-training/nca-php-ruhr-refactoring-consulting ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Hier geht es zu unseren Social-Media-Kanälen: ► Twitter: https://twitter.com/nevercodealone ► Instagram: https://www.instagram.com/nevercodealone/ ► LinkedIn: https://www.linkedin.com/company/never-code-alone/ ► Facebook: https://www.facebook.com/nevercodealone ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Das sind unsere Webseiten: ► Never Code Alone bietet kostenlose und kommerzielle live Coding Events und PHP Kurse für Fortgeschrittene an und unterstützt soziale Projekte https://nevercodealone.de ► TESTIFY - Agentur für Website Testing mit Cypress.IO und dem Codeception Testing Framework https://testify.team/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Du möchtest Never Code Alone unterstützen? Dann lass uns gerne ein Abo da und schreibe deine Fragen und/oder Anregungen in die Kommentare. Danke fürs zuschauen! Ich hoffe das Video hat dir gefallen. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Kontakt: roland@nevercodealone.de #php7 #phptutorial #testing #refactoring
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: https://www.youtube.com/watch?v=EJSGme-kH8M&list=PLKrKzhBjw2Y-d1-bxY1yQZG-mcRMQHue1 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-training/nca-php-ruhr-refactoring-consulting ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Here you can find our social media channels: ► Twitter: https://twitter.com/nevercodealone ► Instagram: https://www.instagram.com/nevercodealone/ ► LinkedIn: https://www.linkedin.com/company/never-code-alone/ ► Facebook: https://www.facebook.com/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: roland@nevercodealone.de #phptutorial #phptutorials #php8 #opensource
Mit Rector PHP können sehr leicht PHP Refactorings und Updates auf die Version 8.1 durchgeführt werden. Das Open Source Projekt ist einfach toll und hilft vielen DeveloperInnen ihren PHP Job deutlich besser zu erledigen. Mit Rector ist man auch ich der Lage für bestehende PHP Open Source Projekte zu contributen. In diesem Rector PHP Tutorial zeigt euch Roland Golla, wie man Best Practice Läsungen direkt mit Rector in die eigene Code Base implementiert. PHP lernen fällt so auch deutlich leichter und macht viel mehr Spaß. 00:00 Intro mit Contributing Open Source mit RectorPHP 00:25 Leidenschaft für Contributing Open Source als Know-how Transfer 00:47 Wie kann ich erste Schritte beim Contributing machen 01:44 Vorstellung Setup für Refactoring mit Rector PHP und Start Live Coding 03:07 Naming Rule für bessere Variablen Namen 03:57 Update Rector PHP Config File 05:20 PHP81 Features und Best Practice mit Rector PHP als refactoring Rule anwenden 06:49 GitKraken für Git Diff View beim aktuellen PHP Upgrade Refactoring 08:30 Neues Wissen bekommen und im Team als Coderegel einführen 10:11 Outro Roland Golla bedankt sich und freut sich auf die Woche Unsere NCA Event Highlights & Live Sessions: https://www.youtube.com/watch?v=EJSGme-kH8M&list=PLKrKzhBjw2Y-d1-bxY1yQZG-mcRMQHue1 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-training/nca-php-ruhr-refactoring-consulting ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Hier geht es zu unseren Social-Media-Kanälen: ► Twitter: https://twitter.com/nevercodealone ► Instagram: https://www.instagram.com/nevercodealone/ ► LinkedIn: https://www.linkedin.com/company/never-code-alone/ ► Facebook: https://www.facebook.com/nevercodealone ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Das sind unsere Webseiten: ► Never Code Alone bietet kostenlose und kommerzielle live Coding Events und PHP Kurse für Fortgeschrittene an und unterstützt soziale Projekte https://nevercodealone.de ► TESTIFY - Agentur für Website Testing mit Cypress.IO und dem Codeception Testing Framework https://testify.team/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Du möchtest Never Code Alone unterstützen? Dann lass uns gerne ein Abo da und schreibe deine Fragen und/oder Anregungen in die Kommentare. Danke fürs zuschauen! Ich hoffe das Video hat dir gefallen. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Kontakt: roland@nevercodealone.de #php8 #phpstorm #phptutorials #phpcourse
Mit Rector PHP ein Update von 74 auf 81 durchführen. Das ist kein Problem mehr. Das tolle Open Source Projekt von Tomas Votruba ist ein spetakulären Open Source Tool. Never Code Alone und Roland Golla beschäftigen sich schon seit einiger Zeit mit statischer PHP Code Analyse. Bisher mit dem Fokus auf Codeception und PHPStan hat er jetzt auch RectorPHP als neues Highlight entdeckt. Playlist Rector PHP Tutorial mit Live Coding https://www.youtube.com/watch?v=f2ENaBb5tNc&list=PLKrKzhBjw2Y_3pbhHBOzYLaOf8vnCcIPA In dem Video kann man einiges über PHP lernen. In dem aktuellen Projekt vom TESTIFY Team wird das Sulu CMS als Symfony Fullstack Content Mangement System eingesetzt. Im Hintergrund ist die Symfony 5 Applikation ein CRUD Interface für automatisierte E2E Tests mit Codeception und Cypress.IO. 00:00 Intro Symfony und Sulu Update zu PHP 8.1 mit Rector PHP 01:25 Lokales Environment mit DDEV und Docker auf Ubuntu Linix mit dem Terminal starten 02:34 Vorstellung Smyfony PHP Application mit Fullstack Sulu CMS 05:20 Contributing und Konzept für TESTIFY Team als Open Source Projekt gesucht 06:33 Composer File Analyse vor dem PHP 8.1 Update mit Rector PHP 08:10 Composer Errors beim Upgrade identifizieren und beheben 09:50 DDEV und Docker auf PHP Version 8.1 setzen und Container neubauen 12:15 Composer File für PHP 8.1 mit Dependencies anpassen 14:46 Declaration of FOS Rest Bundle Composer Update Error 15:35 Rector PHP in aktuelles Projejt hinzufügen und initial einrichten 16:50 Rector Init Command und Configuration mit der aktuellen GitHub Open Source Dokumentation 20:10 Dry run für Rector PHP 25:28 Debugging rector mit --debug damit der interne Cache nicht genutzt wird und Änderungen wirksam werden 27:47 Doctrine Extension Config Yaml File in Symfony 30:00 Dead Code Analyse für Clean Code und PHP Refactoring 36:52 Cache hard löschen und neu einloggen 38:48 GitKraken für den Git Diff View 43:47 Update Sulu CMS Version 4.2 zu 4.5 46:41 Update Javascript und CSS Asset Files mit Build für das Sulu Admin Interface 50:08 Docrtine Migrations Diff und Migrate für Sulu und Symfony Updates an der MySQL Datenbank mit DDEV exec 53:05 Logout über Symfony Debug Bar und Cache hard löschen 54:31 FAQ Content Element für die komplette Validierung Sulu Admin Area nutzen 1:00:30 PHPUnit mit Codeception ausführen und Update auf Version 5 1:04:32 Contributing GitHub Open Source Projekt der Wikipedia Tests 1:12:35 Wikipedia Tests mit Codeception als Website Testing lokal ausführen 1:14:24 Pull Request für Open Source Contributing 1:15:31 GitLab Pipeline mit Docker Preview Envrionment und Rancher Setup für Update in Live Systemen 1:16:25 Karate Website Testing Framework und Vorteile gegenüber einzelnen Test Systemen 1:17:24 Rancher Kubernetes Webitreface für Remote Terminal Zugriff Unsere NCA Event Highlights & Live Sessions: https://www.youtube.com/watch?v=EJSGme-kH8M&list=PLKrKzhBjw2Y-d1-bxY1yQZG-mcRMQHue1 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-training/nca-php-ruhr-refactoring-consulting ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Hier geht es zu unseren Social-Media-Kanälen: ► Twitter: https://twitter.com/nevercodealone ► Instagram: https://www.instagram.com/nevercodealone/ ► LinkedIn: https://www.linkedin.com/company/never-code-alone/ ► Facebook: https://www.facebook.com/nevercodealone ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Das sind unsere Webseiten: ► Never Code Alone bietet kostenlose und kommerzielle live Coding Events und PHP Kurse für Fortgeschrittene an und unterstützt soziale Projekte https://nevercodealone.de ► TESTIFY - Agentur für Website Testing mit Cypress.IO und dem Codeception Testing Framework https://testify.team/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Du möchtest Never Code Alone unterstützen? Dann lass uns gerne ein Abo da und schreibe deine Fragen und/oder Anregungen in die Kommentare. Danke fürs zuschauen! Ich hoffe das Video hat dir gefallen. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Kontakt: roland@nevercodealone.de #php8 #php7 #symfony #shorts
Mit SetList Naming von Rector PHP kann man automatisch ein Code Refactoring mit dem Ziel Clean Code und erhöhte Lesbarkeit an bestehenden Symfony und PHP Projekten durchführen. Roland Golla zeigt in diesem Rector PHP Tutorial, wie man die SetList Naming Rector PHP Rules in der Config aktiviert und dann von oh-my-zsh Linux Terminal ausführt. Änderungen werden danach im GitKraken aufgezeigt und dann auch zu GitHub gepusht. 00:00 Intro Rector PHP SetList Naming Refactoring für mehr Lesbarkeit 00:38 Roland Golla PHP Trainer für Testing und Refactoring 01:16 Live Coding RectorPHP neues Ruleset hinzufügen in PhpStorm im Root Folder 01:49 Dry run auf dem oh-my-zsh Terminal ausführen 02:11 Result Preview was beim refactoring durchgeführt wird und dann rector process command line run 03:23 PHPUnit Tests für Applikation mit testdocs ausführen 04:10 GitKraken für git diff view verwenden 06:36 Code Refactoring durch höhere Lesbarkeit und die Ziele von RectorPHP damit man mehr über seinen Code lernt 08:53 Commit für GitHub Open Source Projekt zu Waterpolo News mit dem Symfony Framework 09:44 Outro Git Push und abschließendende Worte 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-training/nca-php-ruhr-refactoring-consulting
GitLab Pipeline Tutorial mit Rector PHP für die stataische Codeanalyse als Qualitygate in das Docker Deployment für ein Symfony Projekt einsetzen. Roland Golla zeigt dieses mal wie man die GitLab CI CD Configuration mit einer PHP Code Analyse erweitert und als Open Source Projekt aug GitHub bringt. 00:00 Intro Rector PHP Tutorial für eine GitLab Pipeline mit Roland Golla von Never Code Alone 00:49 Rückblick Rector PHP Rule in Config File hinzufügen 01:49 GitHub Fork gegen aktuellen Master aktualisieren als Git Tutorial 02:47 Git Checkout für neues GitLab Feature mit RectorPHP 03:14 GitLab CI Configuration File für Docker Deployment Stages mit PHPUnit, PHPStan und Rector PHP 06:58 Git Push zu unterschiedlichen remote Repositories einrichten 07:21 GitLab Pipeline CI CD Overview online ansehen 08:29 PHP Symfony Projekt mit Docker Pipeline deployen 08:52 Outro und grüne GitLab Pipeline mit Rector PHP Unsere NCA Event Highlights & Live Sessions: https://www.youtube.com/watch?v=EJSGme-kH8M&list=PLKrKzhBjw2Y-d1-bxY1yQZG-mcRMQHue1 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-training/nca-php-ruhr-refactoring-consulting ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Hier geht es zu unseren Social-Media-Kanälen ► Twitter: https://twitter.com/nevercodealone ► Instagram: https://www.instagram.com/nevercodealone/ ► LinkedIn: https://www.linkedin.com/company/never-code-alone/ ► Facebook: https://www.facebook.com/nevercodealone ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Das sind unsere Webseiten ► Never Code Alone bietet kostenlose und kommerzielle live Coding Events und PHP Kurse für Fortgeschrittene an und unterstützt soziale Projekte https://nevercodealone.de ► TESTIFY - Agentur für Website Testing mit Cypress.IO und dem Codeception Testing Framework https://testify.team/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Du möchtest Never Code Alone unterstützen? Dann lass uns gerne ein Abo da und schreibe deine Fragen und/oder Anregungen in die Kommentare. Danke fürs zuschauen! Ich hoffe das Video hat dir gefallen. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Kontakt: roland@nevercodealone.de #gitlab #dockerarchitecture #rectorphp
RectorPHP Tutorial für Code Quality und statische Code Analyse in Kombination mit PHPUnit und PHPStan mit Roland Golla von Never Code Alone. Im aktuellen open Source Waterpolo Projekt haben wir die erste RectorPHP Rule über das rector.php Configuration File hinzugefügt. Gemeinsam mit Sebastian Schreiber bieten wir auch ein remote PHP Training und Consulting an. Wir setzen uns damit gegen legacy Code und für bessere Arbeitsbedingungen von PHP EntwicklerInnen ein und bringen aktiv neues Wissen in die PHP Community. 00:00 RectorPHP Code Quality Rule einsetzen 00:48 NCA Team Programming mit Sebastian Schreiber TZPO3 Rector PHP https://blog.nevercodealone.de/nca-team-programming-blog-post/ 01:45 Vorstellung RectorPHP auf GitHub als Open Source Projekt, Dokumentation und Beispiele 02:21 Update PHP 7.4 auf PHP 8.1 02:31 RectorPHP Rules Übersicht und passende Regel finden 03:50 Git Branch für das Hinzufügen einer neuen Rector Rule im Config File 05:24 Run Command als dry run und Refactoring mit RectorPHP 06:35 Automatisches PHP Refactoring Result im Git Diff View mit tig 07:09 PHPunit und PHPStan als statische Code Analyse Tools für PHP Unsere NCA Event Highlights & Live Sessions: https://www.youtube.com/watch?v=EJSGme-kH8M&list=PLKrKzhBjw2Y-d1-bxY1yQZG-mcRMQHue1 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-training/nca-php-ruhr-refactoring-consulting ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Hier geht es zu unseren Social-Media-Kanälen ► Twitter: https://twitter.com/nevercodealone ► Instagram: https://www.instagram.com/nevercodealone/ ► LinkedIn: https://www.linkedin.com/company/never-code-alone/ ► Facebook: https://www.facebook.com/nevercodealone ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Das sind unsere Webseiten ► Never Code Alone bietet kostenlose und kommerzielle live Coding Events und PHP Kurse für Fortgeschrittene an und unterstützt soziale Projekte https://nevercodealone.de ► TESTIFY - Agentur für Website Testing mit Cypress.IO und dem Codeception Testing Framework https://testify.team/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Du möchtest Never Code Alone unterstützen? Dann lass uns gerne ein Abo da und schreibe deine Fragen und/oder Anregungen in die Kommentare. Danke fürs zuschauen! Ich hoffe das Video hat dir gefallen. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Kontakt: roland@nevercodealone.de #rectorphp #phpunit #phpstan #phptraining