Paul Shryock
Paul Shryock
**Problem:** When I add some code to an event like `eleventy.before` or `eleventy.beforeWatch`, this code runs before every build (or every re-build). But there is not an easy way to...
I'm trying to build an Eleventy collection from external data, while keeping the default [collection item data structure](https://www.11ty.dev/docs/collections/#collection-item-data-structure). I have a REST API that serves JSON content, which looks like...
### What Happened When I use `describe()->with()` in my tests, I get an error: ```plaintext ArgumentCountError Too few arguments to function PHPUnit\Runner\TestSuiteLoader::{closure}(), 0 passed in ~/Desktop/my-org/my-app/vendor/pestphp/pest/src/PendingCalls/DescribeCall.php on line 56 and...
## Summary The Pest Watch Plugin removes colorful output from Pest. | ✅ Expected behavior | ❌ Actual behavior | | :--- | :--- | | 1. Install Pest and...
Is there a way to create a function spy with Brain Monkey? Given this function: ```php myFunction() { myOtherFunction(); } ``` Instead of this 'mock' expectation: ```php use Brain\Monkey\Functions; it('should...
Since [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.html) (from July 2005) is obsoleted by [RFC-9562](https://www.rfc-editor.org/rfc/rfc9562.html) (from May 2024), is there any plan or need to update this package to implement the new spec? To be...
- PHPMD version: `3.x-dev 38b0de1` - PHP Version: 8.3.13 - Installation type: Composer - Operating System / Distribution & Version: MacOS 14.4.1 ### Current Behavior ``` FILE: /Users/Me/Desktop/my-org/my-project/src/php/Page.php --------------------------------------------------------------- 101...
The CLI cache settings are really nice. I'd love to be able to configure these from a Prettier configuration file instead of from the CLI. - [`--cache`](https://prettier.io/docs/en/next/cli.html#--cache) - [`--cache-location`](https://prettier.io/docs/en/next/cli.html#--cache-location) -...
### What Happened When my test calls a method which has [the `#[Override]` attribute](https://www.php.net/manual/en/class.override.php), Pest immediately exits with the following error printed to the console: ``` Script pest handling the...
## User story - AS A software engineer doing test-driven development, - I WANT TO run Pest with a `--watch` flag and let Pest watch for changes and re-run tests,...