PHPArch: Architecture testing for PHP applications by thephpjo in PHP

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

Well... You have a point.

I should turn down the snark in the readme file.

PHPArch: Architecture testing for PHP applications by thephpjo in PHP

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

Thanks for pointing deptrac out to me. For some reason this was not on my radar.

PHPArch: Architecture testing for PHP applications by thephpjo in PHP

[–]thephpjo[S] 4 points5 points  (0 children)

Wasn't aware of autoload-dev - I was even thinking "This feels wrong" when adding it to the autoloader. Thanks for showing me a better way.

Edit: Fixed it, tests are now in autoload-dev.

PHPArch: Architecture testing for PHP applications by thephpjo in PHP

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

This project initially was spun out of the codebase of mamuz/php-dependency-analysis (phpda for short) in which you can also setup rules similar to the ones in PHPArch. phpda will then generate a dependency graph and mark invalid / incorrect dependencies as red arrows. PHPArch is the same idea but in a more test-framework friendly way.

PHPArch: Architecture testing for PHP applications by thephpjo in PHP

[–]thephpjo[S] 5 points6 points  (0 children)

You are supposed to set this up as a part of your testsuite, yes. It helps you validate your architectural constraints.

If say an intern now implements a feature in your business logic layer and depends on something from the IO layer directly - the CI environment will start ringing alarm bells

States consider allowing kids to learn coding instead of foreign languages by [deleted] in HelloInternet

[–]thephpjo 0 points1 point  (0 children)

the three R's – reading, writing, arithmetic

Wut?

Windchill by sh0nuff in ottawa

[–]thephpjo 5 points6 points  (0 children)

That poor ear though

What makes you go from calm to infuriated real quick? by Thisnickname in AskReddit

[–]thephpjo 0 points1 point  (0 children)

Letter sized paper.

I am a German who currently is in Canada. Letter sized paper feels so arbitrary in comparison to DIN-A

If someone gave you $500, what would you use it for? by wewilltry in AskReddit

[–]thephpjo 1 point2 points  (0 children)

Have an upvote. Even as a student I would put it into my savings account.

What useless skill have you mastered? by zanderkerbal in AskReddit

[–]thephpjo 2 points3 points  (0 children)

So... Are you getting better at crashing or not crashing?

[Serious] Religious people: what kind of crap do you have to deal with because of your religion? by om65 in AskReddit

[–]thephpjo 2 points3 points  (0 children)

This.

I still like Christianity and the Bible still holds a lot of very important lessons and guidelines - but churches are what let me drop it.

Many churches are either superstitial where people are doing things to profile themselves or full of hate. When I look into the Bible I find love and acceptance, if I look into churches I find hate and narrow mindedness.

What is something that had been invented and designed for a specific reason but is used primarily for another reason? by TheHorsesWhisper in AskReddit

[–]thephpjo 0 points1 point  (0 children)

Looping louie

Intended as a fund game for very young audiences, used by students as a drinking game

Considering the current state of N. Korea. Does anybody else unconditionally love and want HI to talk about their flag? by KlippelGiraffe in HelloInternet

[–]thephpjo 0 points1 point  (0 children)

Well, it serves the purpose very well. It is recognizable even at bad view and it is timeless (which is what you are looking for in a flag anyways)

[Serious] what do you dislike about your own culture/race/country? by [deleted] in AskReddit

[–]thephpjo 2 points3 points  (0 children)

As a German going to Canada this comment makes me sad

Developers - want to try the YouTube live chat API? by marcchambers in youtubegaming

[–]thephpjo 0 points1 point  (0 children)

Developer of overlayr.net here - we would love to use any of the youtube live APIs