← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. How to Scope Your PHP Tool in 10 Steps

    Do you know PHPStan, ECS, [Monorepo Builder](https://github.com/symplify/monorepo-builder), PHPUnit, [Config Transformer](https://github.com/symplify/config-transformer) or Rector?

  2. Why do we Scope PHP Tools

    Do you know PHPStan, ECS, [Monorepo Builder](https://github.com/symplify/monorepo-builder), PHPUnit, [Config Transformer](https://github.com/symplify/config-transformer) or Rector?

  3. How to Replace Single Node with Two Nodes in Abstract Syntax Tree

    Already over 120 people bought [the Rector book](/blog/rector-the-power-of-automated-refactoring-book-released) that we released just a month ago.

  4. How to make Upgrade Safe with Bridge Testing

    Upgrading can go smooth without no bugs and just work.

  5. Doctrine Annotations and Attributes Living Together in Peace

    In previous post [How to Refactor Custom Doctrine Annotations to Attributes](/blog/how-to-refactor-custom-doctrine-annotations-to-attributes) we looked on how to make the `@annotation` to `#[Attribute]` transition.

  6. Why Should We Talk about Our Mistakes in PHP Community

    Sometimes we fell in love with technology or a tool.

  7. How I Redesigned my Website the Way I Refactor Legacy Projects

    I have wanted to redesign my website since Autumn 2020.

  8. How to Refactor Custom Doctrine Annotations to Attributes

    PHP 8 came with [attributes](https://php.watch/versions/8.0/attributes) 7 months ago.

  9. How Exception to the Convention Does More Harm than Good

    We have a project, and to make it easier, we use specific standards.

  10. Rector - The Power of Automated Refactoring Book Released

    In October 2020, we had a short call about Rector with [Matthias Noback](https://matthiasnoback.nl/).

  11. Write GitHub Actions for Gitlab Too

    In a recent post [How can We use GitHub Actions in Gitlab?]

  12. PHPStan Generics for Dummies - With 2 Parents

    In previous post we talked about how to [promote generics to parent class](/blog/2021/01/04/phpstan-abstract-parent-generics-dummies/).

  13. Dependency Juggling Code Smell

    The best way to pass dependencies is via constructor injection.

  14. How can We use GitHub Actions in Gitlab

    One of my customers is building a monorepo, so we prepared a prototype on GitHub to test it out.

  15. 2 Ways to Write Big Numbers More Readable

    Have you seen a number in your code that does not make any sense?

  16. Monorepo Split GitHub Action 2.0 with Gitlab split is Out!

    [The version 1.0 was released 6 months ago](/blog/2020/11/09/new-in-symplify-9-monorepo-split-with-github-action).

  17. How to Traverse PHPDoc and Modify It

    Traversing and modifying PHP code is possible thanks to the amazing tool [php-parser](https://github.com/nikic/PHP-Parser) written by Nikita Popov.

  18. Never Forget Symfony Config Options Again

    Have you switched your Symfony configs from **stringy YAML to typed PHP**?

  19. It's not Null, it's Enum

    Last weekend I got into reading a good old post [Null Hell](https://afilina.com/null-hell) by Afilina, a fellow legacy archeologist.

  20. Tree Coding vs. Bush Coding

    How does circular reference look like?

  21. Why Coding Standards Should Not Be Part of CI

    Why do you use coding standards?

  22. 5 New Combos opened by Symfony 5.2 and PHP 8.0

    Conjunction of 2 releases came in December 2020, Symfony 5.2 and [PHP 8.0](https://getrector.com/blog/2020/11/30/smooth-upgrade-to-php-8-in-diffs).

  23. New in Symplify 9: More than 110 PHPStan Rules

    In Symplify 8, a bunch of PHP rules was part of the symplify/coding-standard package.

  24. New in Symplify 9: Documentation Generator for PHP CS Fixer, Code Sniffer, PHPStan and Rector Rules

    Rector is providing rules, so is PHPStan and PHP CS Fixer, and Code Sniffer.

  25. How to make a Dynamic Matrix in GitHub Actions

    Do you want [split monorepo](/blog/2020/11/09/new-in-symplify-9-monorepo-split-with-github-action) for each package?

  26. How to Split Test Monorepo with Composer 2

    [Composer 2 was released](https://twitter.com/packagist/status/1319945203797708800) this week.

  27. How We Stopped Merging Pull Requests

    What comes before merging a pull request?

  28. How to Add Colors to Continuous Integration Output

    Today I have a tip for your CI.

  29. Symfony AutoBind Parameter is Dead, Long live Constant Parameters

    I wrote the [Do you Autowire Services in Symfony?

  30. How to Apply Coding Standard on PHP Snippets in Markdown Files

    Have you been asking this question since the inventions of coding standards?

  31. How Static Methods Kill You Like Corona

    Do you know [the Broken Window theory](https://blog.codinghorror.com/the-broken-window-theory/)?

  32. What if We Remove Strings from Symfony Extension Configuration

    You can tell I'm a [huge fan PHP configs](/blog/2020/07/16/10-cool-features-you-get-after-switching-from-yaml-to-php-configs/).

  33. How to Get Rid of Magic, Static and Chaos from Latte Filters

    [In the previous post](/blog/2020/08/10/4-ways-to-make-your-nette-project-more-readable/), we looked at how to avoid array magic and duplicates of Latte in Presenter and Components.

  34. How to Give Away 1500 € in 1 Tweet and Help 25 People Learn Something New

    What makes one give?

  35. How to Switch from YAML Configs to PHP Today with Symplify

    In [previous post](/blog/2020/07/16/10-cool-features-you-get-after-switching-from-yaml-to-php-configs/), we looked 10 reasons to switch from YAML to PHP configs.

  36. How to Update Hundreds of Test Fixtures with Single PHPUnit run

    In [previous post](/blog/2020/07/13/the-most-effetive-test-i-found-in-7-years-of-testing/), we look at the benefits of visual snapshot testing for lazy people.

  37. 10 Cool Features You Get after switching from YAML to PHP Configs

    You've probably noticed [Symfony is moving towards PHP configuration](https://github.com/symfony/symfony/issues/37186).

  38. The most Effective Test I found in 7 years of Testing

    Do you test your projects with automated tests?

  39. Cleaning Lady Notes: From Class Mess to PSR-4 Step by Step With Confidence

    Today I'm starting a new post series - *Cleaning Notes*.

  40. How to Patch a Package in Vendor, Yet Allow its Updates

    While working with legacy code upgrades, we often need to fix a line or two in 3rd party package in `/vendor`.

  41. How Will Programming look like in 2025

    We often read about best practices in coding, what framework has new features, or what is new in PHP X.

  42. Why Class Constants Should be Typed

    Do you use PHP 7.4 [typed properties](/blog/2018/11/15/how-to-get-php-74-typed-properties-to-your-code-in-few-seconds/)?

  43. Drop RobotLoader and let Composer Deal with Autoloading

    Using 2 tools for one thing, in this case 2 packages to autoload classes, are sign of an architecture smell.

  44. The Bulletproof Event Naming For Symfony Event Dispatcher

    I wrote [intro to Symfony\EventDispatcher](/blog/2019/08/05/standalone-symfony-event-dispatcher-from-the-scratch/) and how to use it with simple event.

  45. The Future of Pehapkari Meetups and Training - You

    Last 2 months gave lot of time to reflect my activities, work and hobbies.

  46. How to Upgrade to Symplify 8 - From Sniffs to PHPStan Rules

    Since Symplify 7.3, you might notice a few deprecation notices in your coding standards.

  47. How to Hydrate Arrays to Objects via Constructor

    One technology evolution sparks naturally another one.

  48. How to Migrate Spaghetti to 304 Symfony 5 Controllers Over Weekend

    During Easter weekend, usually, people take a break and have a rest.

  49. Doctrine Entity Typed Properties With PHP 7.4

    Recently we've upgraded our [Czech PHP community website](https://pehapkari.cz) to PHP 7.4.

  50. Art of Letting Go

    Recently I come to a dead end with one of my projects.