Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V5 #23

Merged
merged 9 commits into from
Nov 26, 2024
Merged

V5 #23

merged 9 commits into from
Nov 26, 2024

Conversation

bnomei
Copy link
Owner

@bnomei bnomei commented Nov 26, 2024

No description provided.

@bnomei bnomei merged commit 0d84852 into master Nov 26, 2024
1 check was pending
@bnomei bnomei deleted the v5 branch November 26, 2024 19:54
Copy link

what-the-diff bot commented Nov 26, 2024

PR Summary

  • New GitHub Actions Workflows
    Three new continuous integration workflows have been introduced to help maintain code quality. These include a workflow to automatically fix code style issues, a workflow to run unit tests developed with the Pest framework, and another one to perform static code analysis using PHPStan.

  • Removal of Old Workflow
    The old workflow dedicated to running unit tests was removed reflecting our shift towards the new test framework.

  • README.md Updates
    The project's README was updated to incorporate new badges that represent project status and to give a clearer explanation of the plugin's zero-configuration setup.

  • Robotstxt Class Enhancements
    A number of improvements were made to the Robotstxt class, including a simplified initialization process, new method to retrieve options, and enhanced methods to add content and groups.

  • Composer.json File Revision
    The project's composer.json file was revised to include a requirement for the Pest testing framework and updated other dependencies.

  • Switch to Pest for Testing
    The project testing strategy has been shifted from traditional PHPUnit assertions towards Pest's format, which is considered more readable and user-friendly.

  • PHPStan and PHPUnit Configuration Adjustment
    A new PHPStan configuration file was added to the project, and the PHPUnit configuration has been adjusted accordingly.

  • Addition of New Test Files
    Several new test files (ExampleTest.php, IndexTest.php, and RobotstxtTest.php) were added to leverage the Pest framework.

  • New Base Test Case Class
    A new base test case class was created which is meant to provide a uniform structure for all tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant