Because performance isn't everything. There's a lot around documentation and maintenance. Performance can also be solved with more money and hardware, or you know just sticking varnish in front of it.
It's awesome. The only thing it doesn't really do is rendering out analysis of code like codecoverage or style-ci would do. The flexibility is where it wins imho.
For example. If a method takes the Symfony request object and I use $request->query inside. I now need to mock, not just the Request, but also the parameter bag (or at least construct it). Same goes for repository methods with Doctrine. I know it feels wrong to test that sort of stuff at a unit level, but it's sometime useful to see if it's constructing the correct query without executing it. Doing that is even worse as you go down a giant rabbit hole.
When I'm writing unit tests, I use Mockery for mocking my dependencies, but I find all too often that my test methods are 100 lines of Mockery and the assertion is lost at the bottom. Is this just a symptom of my methods doing too much or is there something I'm missing?
As I found out earlier, that list of websites is not accurate. There's a lot of websites listed that use CloudFlare DNS, but not the proxying service, so aren't affected.
Yeah that's a good idea, looking back at all the other threads there isn't much in terms of content for a given week. Maybe the monthly schedule aligns better newsletters and stuff as well.
Excellent, the fact that it pulls down changes first makes it almost seem like a no brainer. It'd be interesting to track down the PR that implemented these changes to see why it occurred.
So I was looking into why this happens because the article boils down to "This is faster" and doesn't explain what is really happening and how it could negatively affect your work.
The flag is used in the GitHub driver and initialises a Git driver if the flag is true.
This means when the GitHub driver is looking up branches, etc ... it uses the local copy only as seen here and doesn't send an API call to GitHub. This means it no longer has to download and parse JSON files (faster). The downsides is that your metadata might not be up to date (I think) as someone could have pushed a new branch to GH and your composer wouldn't know about it.
What you're describing is not a problem with Packagist, but the package authors and yourself. There are packages that don't have dependencies, ie https://packagist.org/packages/respect/validation All it took was 60 seconds. You're mad because you found 1 package you don't like and have extrapolated it out to Packagist being the worst.
We'll see how it goes. PHPWeekly / Murbz find enough content for their weekly emails so I can't see it being too much of a stretch. Shall keep an eye on it.
From a mods perspective, we can see your posts fine. Although this isn't exactly on topic ...
For rendering Markdown I'd recommend gfm over anything else. Almost renders it out exactly like GitHub does.
Got any more detail on this?
Because performance isn't everything. There's a lot around documentation and maintenance. Performance can also be solved with more money and hardware, or you know just sticking varnish in front of it.
Thanks, will have to check it out.
I feel like a shill with the other suggestions here, but also just migrated to GitLab to use their in built CI.
https://gitlab.com/thepixeldeveloper/sitemap/pipelines/12802712
It's awesome. The only thing it doesn't really do is rendering out analysis of code like codecoverage or style-ci would do. The flexibility is where it wins imho.
I'm sure that joke is made every time Pornhub post a job on HN. Seen it a few times.
It's mainly dependencies of dependencies.
For example. If a method takes the Symfony request object and I use
$request->queryinside. I now need to mock, not just the Request, but also the parameter bag (or at least construct it). Same goes for repository methods with Doctrine. I know it feels wrong to test that sort of stuff at a unit level, but it's sometime useful to see if it's constructing the correct query without executing it. Doing that is even worse as you go down a giant rabbit hole.How are people writing clean unit tests?
When I'm writing unit tests, I use Mockery for mocking my dependencies, but I find all too often that my test methods are 100 lines of Mockery and the assertion is lost at the bottom. Is this just a symptom of my methods doing too much or is there something I'm missing?
Help appreciated.
Was hoping you'd go into more detail regarding performance, etc ...
Interesting none the less.
Donated! Definitely helped when trying to quickly compare functionality of different versions.
As I found out earlier, that list of websites is not accurate. There's a lot of websites listed that use CloudFlare DNS, but not the proxying service, so aren't affected.
Yeah that's a good idea, looking back at all the other threads there isn't much in terms of content for a given week. Maybe the monthly schedule aligns better newsletters and stuff as well.
Excellent, the fact that it pulls down changes first makes it almost seem like a no brainer. It'd be interesting to track down the PR that implemented these changes to see why it occurred.
So I was looking into why this happens because the article boils down to "This is faster" and doesn't explain what is really happening and how it could negatively affect your work.
The flag is used in the GitHub driver and initialises a Git driver if the flag is true.
This means when the GitHub driver is looking up branches, etc ... it uses the local copy only as seen here and doesn't send an API call to GitHub. This means it no longer has to download and parse JSON files (faster). The downsides is that your metadata might not be up to date (I think) as someone could have pushed a new branch to GH and your composer wouldn't know about it.
Both
Dupe
https://www.reddit.com/r/PHP/comments/50awiv/compiling_php_to_net_core_on_docker_with_peachpie/
What you're describing is not a problem with Packagist, but the package authors and yourself. There are packages that don't have dependencies, ie https://packagist.org/packages/respect/validation All it took was 60 seconds. You're mad because you found 1 package you don't like and have extrapolated it out to Packagist being the worst.
I manually write them.
It'll take all of 10 to 30 minutes to write a customer facing change log. I've found trying to automate it via a commit log is a bit of a ball ache.
Closing in favour of https://www.reddit.com/r/PHP/comments/4q9qvq/zend_framework_300_has_been_released/
You might be able to convert to HTML first and then take a screenshot of the page. A bit of a hack, but you might have more luck there.
The NullLogger and the logger you specify should implement the same interface so they have the same methods.
Should be able to find all the previous entries via https://www.reddit.com/r/PHP/search?q=Library+%2F+Tool+Discovery+Thread&restrict_sr=on
That's a loaded question, what are your requirements?
We'll see how it goes. PHPWeekly / Murbz find enough content for their weekly emails so I can't see it being too much of a stretch. Shall keep an eye on it.