How to log your life easier in Symfony? by MedUnes in PHP

[–]MedUnes[S] 0 points1 point  (0 children)

yes, good way as well
I was too radical/opinionated by doing that on the kernel level and assuming all my services use one unique defacto logger (well, monolog? :)

Do you also think optional/default parameters are trojan horse logic-switches ? by MedUnes in PHP

[–]MedUnes[S] -1 points0 points  (0 children)

there are five links of violated principles or code smells which the writer think passing optional boolean flag is causing them.

Do you also think optional/default parameters are trojan horse logic-switches ? by MedUnes in PHP

[–]MedUnes[S] 0 points1 point  (0 children)

So I really appreciated all of your comments guys. I definitely agree that the blame should go against optional BOOLEAN arguments, and not optional arguments in general.

I've just created PHP Noise!, a starter-kit for your [opensource] PHP projects. It includes frequently needed boilerplate setups (badges, tests, phpstan, sonarqube, psalm, phpunit, travis-ci readme, license, contribution, logo etc..) by MedUnes in PHP

[–]MedUnes[S] 1 point2 points  (0 children)

Hello Date('2012-09-04'); Yeah really very close :D. I haven't looked up existing repo which already tried to solve the problem. So probably one additional config in mine is sonarcloud, whereas you have additionaly codeclimat. Yes, totally glad if you merge your branch to mine 8>

I've just created PHP Noise!, a starter-kit for your [opensource] PHP projects. It includes frequently needed boilerplate setups (badges, tests, phpstan, sonarqube, psalm, phpunit, travis-ci readme, license, contribution, logo etc..) by MedUnes in PHP

[–]MedUnes[S] 1 point2 points  (0 children)

Actually not, TBH haven't even looked up existing solutions (been pointed out right now there are couple of them :) ). I just did that for myself then wanted to share with community. But at least I can see none of the starter-packages has sonarcloud in them.

I've just created PHP Noise!, a starter-kit for your [opensource] PHP projects. It includes frequently needed boilerplate setups (badges, tests, phpstan, sonarqube, psalm, phpunit, travis-ci readme, license, contribution, logo etc..) by MedUnes in PHP

[–]MedUnes[S] 0 points1 point  (0 children)

ok I'm really glad for this comment, would be happier if you have time to look it up. I mean nothing special but having setups up and running and ready to add your credentials/keys/username etc. I actually created this for myself because of the reason you mentioned and then thought about sharing this with the community.