Last 12 weeks · 0 commits
We know for a fact that the user twitch subscription is only filled with the subscription status of the user in all of the admin channels, so max will return the highest twitch subscription, and if the user has none it will return none by contruction. [I watched @tjdevries 's stream] If this assumption is ever broken we can add a where clause to assert the is in the and no this wasn't vibe coded
Description This PR adds several scripts to to facilitate unit testing, linting, refactoring, and static code analysis in the project. Changes Made: Added to run tests with Pest, ensuring 100% coverage. Added to run Pint and maintain properly formatted code. Added to run Rector and enable automatic refactoring. Added to verify if the code follows formatting rules without modifying it. Added to run Peck and validate type correctness in the code. Added to check type coverage with Pest. Added to run PHPStan for static code analysis. Added to execute Rector in mode and check recommended changes. Created a script that groups all the above checks for easy execution. Motivation: These changes standardize and automate the code validation process, ensuring quality and consistency in project development. By consolidating all checks into a single command (), it simplifies integration into CI/CD pipelines and local execution for developers. Steps to Test:** 1. Run to ensure all tools are installed, or maybe , not really sure. 2. Run to verify that all checks execute correctly.
Repository: ThePrimeagen/topshelf-fm. Description: The TopShelf Project Of The Century Stars: 49, Forks: 19. Primary language: PHP. Languages: PHP (51.4%), Blade (47.1%), CSS (1.2%), JavaScript (0.3%). Open PRs: 5, open issues: 4. Last activity: 1y ago. Top contributors: taylorotwell, tjdevries, onairmarc, thijsvdanker.