-
Notifications
You must be signed in to change notification settings - Fork 38
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
Composer updates #15
Closed
Closed
Composer updates #15
Commits on Feb 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fc16353 - Browse repository at this point
Copy the full SHA fc16353View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83eb9fd - Browse repository at this point
Copy the full SHA 83eb9fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00a1971 - Browse repository at this point
Copy the full SHA 00a1971View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a3651b - Browse repository at this point
Copy the full SHA 1a3651bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bd6dcb - Browse repository at this point
Copy the full SHA 3bd6dcbView commit details
Commits on Mar 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a22a04a - Browse repository at this point
Copy the full SHA a22a04aView commit details
Commits on Mar 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d22e894 - Browse repository at this point
Copy the full SHA d22e894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40253cc - Browse repository at this point
Copy the full SHA 40253ccView commit details
Commits on Mar 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 73c8d86 - Browse repository at this point
Copy the full SHA 73c8d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aef89d - Browse repository at this point
Copy the full SHA 8aef89dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27a97bb - Browse repository at this point
Copy the full SHA 27a97bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e225fba - Browse repository at this point
Copy the full SHA e225fbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for dea5e91 - Browse repository at this point
Copy the full SHA dea5e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd154a6 - Browse repository at this point
Copy the full SHA dd154a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b550c3 - Browse repository at this point
Copy the full SHA 4b550c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8b132 - Browse repository at this point
Copy the full SHA fb8b132View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d7d0b9 - Browse repository at this point
Copy the full SHA 2d7d0b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4019f18 - Browse repository at this point
Copy the full SHA 4019f18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f4993d - Browse repository at this point
Copy the full SHA 4f4993dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58937ea - Browse repository at this point
Copy the full SHA 58937eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c223707 - Browse repository at this point
Copy the full SHA c223707View commit details
Commits on Apr 15, 2024
-
feat(.gitignore): add common directories and files to ignore list Added patterns to .gitignore to exclude log files, PHP CS Fixer cache, PHPStorm metadata, build artifacts, node_modules, storage directory, ray.php, and PHPStan baseline. This prevents unnecessary files from being tracked in version control, keeping the repository clean. Ref: composer-updates ```
Configuration menu - View commit details
-
Copy full SHA for c0b40c8 - Browse repository at this point
Copy the full SHA c0b40c8View commit details -
```feat: add PHP CS Fixer configuration for code style enforcement (#…
…composer-updates) Add a `.php-cs-fixer.php` configuration file to define rules for automatic code style corrections in the project. This includes PSR-12 compliance and an assortment of additional rules to ensure a consistent coding standard.```
Configuration menu - View commit details
-
Copy full SHA for 8fe5635 - Browse repository at this point
Copy the full SHA 8fe5635View commit details -
refactor(tests): update test cases to use Pest PHP Change test cases to use the Pest PHP testing framework. Refactor existing test cases in MetricFactoryTest.php, SizeMetricTest.php, and others to use Pest PHP functions such as test and beforeEach. Remove unnecessary use of namespaces and class structures for test cases, simplifying the codebase. Issue: composer-updates ```
Configuration menu - View commit details
-
Copy full SHA for 8f12729 - Browse repository at this point
Copy the full SHA 8f12729View commit details -
Configuration menu - View commit details
-
Copy full SHA for f42de43 - Browse repository at this point
Copy the full SHA f42de43View commit details -
style: apply PSR-12 formatting and add trailing commas Apply PSR-12 formatting standards in AbstractKeywordDensityMetric.php, ensuring consistency in spacing and adding trailing commas to arrays. Additionally, cast text to string before applying `strtolower` and `preg_replace` for clarity. ```
Configuration menu - View commit details
-
Copy full SHA for 9bcabd2 - Browse repository at this point
Copy the full SHA 9bcabd2View commit details -
style: align class constants and improve whitespace in AbstractMetric This commit adjusts the alignment of class constants to enhance readability. It also introduces additional line breaks to separate logical blocks of code within methods, adhering to coding standards. Refs: composer-updates ```
Configuration menu - View commit details
-
Copy full SHA for 829919c - Browse repository at this point
Copy the full SHA 829919cView commit details -
style: add space after negation operator in AbstractParser Ensure consistency in spacing after the negation operator within the `__construct` method of the `AbstractParser` class. ```
Configuration menu - View commit details
-
Copy full SHA for 30786e0 - Browse repository at this point
Copy the full SHA 30786e0View commit details -
refactor: standardise whitespace in AltsMetric calculation (composer-updates) Ensure consistent spacing around variable assignments in the AltsMetric.php. This improves code readability and maintains coding standards. ```
Configuration menu - View commit details
-
Copy full SHA for c35441f - Browse repository at this point
Copy the full SHA c35441fView commit details -
refactor: streamline Analyzer constructors and methods (composer-updates) - Remove unused parameters in Analyzer constructors. - Enforce PSR-12 by adding spaces after negation operators. - Tidy up formatting and remove unnecessary comments for clarity. ```
Configuration menu - View commit details
-
Copy full SHA for be4fc6a - Browse repository at this point
Copy the full SHA be4fc6aView commit details -
refactor: remove unused import and improve code readability Remove the unused InvalidArgumentException import and add blank lines to improve the readability of the Cache class methods. ```
Configuration menu - View commit details
-
Copy full SHA for b52ba9d - Browse repository at this point
Copy the full SHA b52ba9dView commit details -
feat: update header formatting and ensure options merge in Client.php (#composer-updates) Reformat headers array for consistency and add a newline to separate the options merging logic. ```
Configuration menu - View commit details
-
Copy full SHA for 9de0bf7 - Browse repository at this point
Copy the full SHA 9de0bf7View commit details -
refactor: remove redundant param annotations from ClientInterface Param annotations for the method in the ClientInterface were removed, as they are superfluous and the method signature is self-explanatory. This change is part of the ongoing composer updates. (composer-updates) ```
Configuration menu - View commit details
-
Copy full SHA for d865dbb - Browse repository at this point
Copy the full SHA d865dbbView commit details -
feat(Parser): add line break in ExampleCustomParser Add a single line break to enhance code readability in ExampleCustomParser.php. Relates to the composer-updates branch. ```
Configuration menu - View commit details
-
Copy full SHA for a940317 - Browse repository at this point
Copy the full SHA a940317View commit details -
refactor: specify property types in Factor class (composer-updates) Add explicit string type declarations to all class constants. ```
Configuration menu - View commit details
-
Copy full SHA for 3b41c58 - Browse repository at this point
Copy the full SHA 3b41c58View commit details -
fix: improve readability in HeadersKeywordDensityMetric Adjust spacing for better readability and maintainability in the HeadersKeywordDensityMetric class. Update assignment alignments and add missing line breaks to match coding standards. Refs: composer-updates ```
Configuration menu - View commit details
-
Copy full SHA for c1f4699 - Browse repository at this point
Copy the full SHA c1f4699View commit details -
style: add trailing commas and improve formatting in HeadersMetric Ensuring consistent array formatting and trailing commas in the HeadersMetric.php file. This enhances readability and future diffs. ```
Configuration menu - View commit details
-
Copy full SHA for d8d6479 - Browse repository at this point
Copy the full SHA d8d6479View commit details -
style: add missing commas to array items in HeadersMetric (#composer-updates) Ensure proper array formatting by adding trailing commas to multiline array items, improving readability and future diff clarity. ```
Configuration menu - View commit details
-
Copy full SHA for 6c1b4e1 - Browse repository at this point
Copy the full SHA 6c1b4e1View commit details -
refactor: improve readability and structure of keyword density checks Optimise keyword density metric calculations and update handling of overused keywords. Adjust spacing for consistency and improve method structure for better readability and maintainability. ```
Configuration menu - View commit details
-
Copy full SHA for d6e8baa - Browse repository at this point
Copy the full SHA d6e8baaView commit details -
feat: add line breaks for better readability in KeywordMetric A couple of line breaks were introduced after each control structure in the KeywordMetric.php to enhance code readability and maintainability. Related to the composer-updates branch. ```
Configuration menu - View commit details
-
Copy full SHA for a056cb9 - Browse repository at this point
Copy the full SHA a056cb9View commit details -
feat: add spacing for readability in LengthMetric.php (#composer-updates) Whitespace added to improve code structure and readability in the LengthMetric class. ```
Configuration menu - View commit details
-
Copy full SHA for 9d17506 - Browse repository at this point
Copy the full SHA 9d17506View commit details -
feat: improve readability of LoadTimeMetric messages #composer-updates Adjust alignment of assignment operators and add line breaks in LoadTimeMetric.php for better readability of the code. ```
Configuration menu - View commit details
-
Copy full SHA for d1e3ff6 - Browse repository at this point
Copy the full SHA d1e3ff6View commit details -
style: ensure consistent array formatting in MetaMetric Added missing commas and aligned array arrows for better readability in the MetaMetric class. This change maintains code style consistency across the project. ```
Configuration menu - View commit details
-
Copy full SHA for c800654 - Browse repository at this point
Copy the full SHA c800654View commit details -
refactor: update `MetricFactory::get` method signature (#composer-updates) Change the `$inputData` parameter type to `bool|string|null` and reformat code for consistency. ```
Configuration menu - View commit details
-
Copy full SHA for 4844763 - Browse repository at this point
Copy the full SHA 4844763View commit details -
refactor: add type hints to constants and clean up constructor in Page Add string type hints to class constants and refactor the Page constructor for better readability and efficiency. Remove unnecessary parameter comments and improve conditionals and spacing for consistency. This update is part of the ongoing efforts to enhance code quality. Issue found in the branch name: composer-updates. ```
Configuration menu - View commit details
-
Copy full SHA for eec6794 - Browse repository at this point
Copy the full SHA eec6794View commit details -
fix(parser): ensure nodeValue is cast to string for robustness Trim and cast nodeValue to string in getHeaders and getTitle methods. Add missing line breaks between method blocks for readability. Related to refactoring on the 'composer-updates' branch. ```
Configuration menu - View commit details
-
Copy full SHA for 2a391a4 - Browse repository at this point
Copy the full SHA 2a391a4View commit details -
style: improve readability with added line breaks in RatioMetric Add line breaks after impact assignments in the RatioMetric class to enhance code readability and maintainability. No functional changes. ```
Configuration menu - View commit details
-
Copy full SHA for c977ed1 - Browse repository at this point
Copy the full SHA c977ed1View commit details -
style: add spacing for readability in RedirectMetric (#composer-updates) Ensure consistent spacing around control structures for clarity. ```
Configuration menu - View commit details
-
Copy full SHA for 2e805bc - Browse repository at this point
Copy the full SHA 2e805bcView commit details -
refactor: streamline conditionals in RobotsMetric.php (composer-updates) Replace `else if` with separate `if` statement to improve code clarity. Add missing line breaks after setting impact values. ```
Configuration menu - View commit details
-
Copy full SHA for f3ce1f4 - Browse repository at this point
Copy the full SHA f3ce1f4View commit details -
feat: add spacing for readability in SitemapMetric (#composer-updates)
Add line breaks to enhance code readability in the SitemapMetric evaluation method.
Configuration menu - View commit details
-
Copy full SHA for 08fbb97 - Browse repository at this point
Copy the full SHA 08fbb97View commit details -
style: standardise array formatting in SizeMetric.php (#composer-updates) Ensure consistency in array element indentation and add missing commas after each array item in the $results and $conditions arrays. ```
Configuration menu - View commit details
-
Copy full SHA for 10231ee - Browse repository at this point
Copy the full SHA 10231eeView commit details -
feat(Page): check SSL usage and impact on SEO #composer-updates Implement SSL metric evaluation to provide feedback on encryption use and its potential SEO impact. Ensure lines are separated by additional spaces for readability. ```
Configuration menu - View commit details
-
Copy full SHA for fe981d0 - Browse repository at this point
Copy the full SHA fe981d0View commit details -
refactor: update type declarations and default handling in AbstractKeywordDensityMetric (#composer-updates) Update type declarations for class properties and constructor parameters. Refactor default input data handling to check for empty array. Simplify calculateKeywordsPercentage and getWords methods. Remove redundant comments and code cleanup. ```
Configuration menu - View commit details
-
Copy full SHA for 90f627f - Browse repository at this point
Copy the full SHA 90f627fView commit details -
refactor(tests): move test cases to feature namespace Moved all test cases from `TestCase` to `Feature` namespace, with appropriate adjustments to the test infrastructure. This includes namespace changes, strict type declarations, and renaming of the base test case class. Also, the example test was amended to be more expressive. ```
Configuration menu - View commit details
-
Copy full SHA for 5f5b38a - Browse repository at this point
Copy the full SHA 5f5b38aView commit details -
feat: add .phpunit.cache to .gitignore (composer-updates) Ensure PHPUnit cache is not tracked by adding its directory to the project's .gitignore file. ```
Configuration menu - View commit details
-
Copy full SHA for fd9af3c - Browse repository at this point
Copy the full SHA fd9af3cView commit details -
refactor: type-hint properties and methods in AbstractMetric Type-hint class properties and methods for better code quality and maintainability. Remove unused use statement and redundant variable assignments. Update constructor to use property promotion. ```
Configuration menu - View commit details
-
Copy full SHA for 8677f7b - Browse repository at this point
Copy the full SHA 8677f7bView commit details -
refactor(parser): update AbstractParser with typed properties and methods Replace docblocks with type hints in properties and methods. Use union types and attributes where applicable. Ensure compatibility with ParserInterface. Issue found in branch name: composer-updates. ```
Configuration menu - View commit details
-
Copy full SHA for 48d57ae - Browse repository at this point
Copy the full SHA 48d57aeView commit details -
feat(AltsMetric): add typing and override annotation (#composer-updates) Add strong typing to the $description property and the Override attribute to the analyze method in the AltsMetric class. ```
Configuration menu - View commit details
-
Copy full SHA for 5225f73 - Browse repository at this point
Copy the full SHA 5225f73View commit details -
refactor: remove redundant docblocks, add type hints in Analyzer (#composer-updates) - Removed unnecessary docblocks from properties and constructor. - Added string type hints to getFileContent method parameters. - Utilised constructor property promotion for $client. ```
Configuration menu - View commit details
-
Copy full SHA for a9c6f98 - Browse repository at this point
Copy the full SHA a9c6f98View commit details -
feat: add strict types and improve parameter typing for Cache - Enforce strict typing with `declare(strict_types=1)`. - Introduce `use DateInterval` to support more precise TTL definitions. - Refactor `__construct` method to accept `int|null` for `$ttl` and default to 300 if not provided. - Update `set` method signature to accept `mixed` type for `$value` and `DateInterval|int|null` for `$ttl`, enhancing flexibility and type safety. Related to composer-updates. ```
Configuration menu - View commit details
-
Copy full SHA for af12254 - Browse repository at this point
Copy the full SHA af12254View commit details -
feat: update Client property and method with type declarations (#composer-updates) - Add type declaration to `$options` property. - Replace docblock with #[Override] attribute for `get` method. ```
Configuration menu - View commit details
-
Copy full SHA for 5739328 - Browse repository at this point
Copy the full SHA 5739328View commit details -
feat: update PHP and package dependencies (#composer-updates) Update PHP requirement to >=8.3 and upgrade various package versions. Introduce new development tools and plugins, reorganise composer.json, and modify test scripts to use Pest. ```
Configuration menu - View commit details
-
Copy full SHA for bd849fe - Browse repository at this point
Copy the full SHA bd849feView commit details -
feat(ExampleCustomParser): add Override attribute to getAlts method Add the use of Override attribute in ExampleCustomParser to clarify method overriding. Issue found in the 'composer-updates' branch. ```
Configuration menu - View commit details
-
Copy full SHA for d53dc69 - Browse repository at this point
Copy the full SHA d53dc69View commit details -
feat: add type hint and override attribute to HeadersKeywordDensityMetric - Include 'use Override' directive. - Add string type hint to the $description property. - Annotate the analyze method with #[Override] attribute. ```
Configuration menu - View commit details
-
Copy full SHA for ed26926 - Browse repository at this point
Copy the full SHA ed26926View commit details -
refactor: standardise types and annotations in HeadersMetric (#composer-updates) - Enforce type declarations for class properties and constructor parameter. - Add Override attribute to analyze and setUpResultsConditions methods. ```
Configuration menu - View commit details
-
Copy full SHA for a204cf8 - Browse repository at this point
Copy the full SHA a204cf8View commit details -
refactor: type hint properties and methods in HeadersMetric (#composer-updates) - Add type hints to $description and $results properties. - Specify return type for analyze() and setUpResultsConditions() methods. - Add Override attribute to analyze() and setUpResultsConditions(). - Ensure type compatibility for $inputData parameter in constructor. ```
Configuration menu - View commit details
-
Copy full SHA for 3f4cd60 - Browse repository at this point
Copy the full SHA 3f4cd60View commit details -
feat: add types and override attribute to KeywordDensityMetric (#composer-updates) Ensure proper typing in KeywordDensityMetric properties and methods. Also, decorate the analyze method with the Override attribute to clarify its role in the class hierarchy. ```
Configuration menu - View commit details
-
Copy full SHA for 8fbee24 - Browse repository at this point
Copy the full SHA 8fbee24View commit details -
feat(KeywordMetric): enforce type declaration and add Override attribute Use type declaration for `$description` property and add the Override attribute to `analyze` method in `KeywordMetric`. This change improves code consistency and readability. Refs: composer-updates ```
Configuration menu - View commit details
-
Copy full SHA for d489406 - Browse repository at this point
Copy the full SHA d489406View commit details -
fix: type-hint $description and add Override attribute (#composer-updates) - Type-hint the `$description` property to `string`. - Add the `Override` attribute to the `analyze` method. ```
Configuration menu - View commit details
-
Copy full SHA for 77e6648 - Browse repository at this point
Copy the full SHA 77e6648View commit details -
feat: add type declaration and attribute in LoadTimeMetric #composer-updates - Add string type declaration to $description property. - Include Override attribute to analyze method. ```
Configuration menu - View commit details
-
Copy full SHA for 3a2b68b - Browse repository at this point
Copy the full SHA 3a2b68bView commit details -
refactor: type-hint properties and methods in MetaMetric (#composer-updates) - Add type declarations to class properties and method parameters. - Include `Override` attribute for overriding methods. ```
Configuration menu - View commit details
-
Copy full SHA for ff92880 - Browse repository at this point
Copy the full SHA ff92880View commit details -
feat: update MetricFactory to handle SSL metrics #composer-updates - Update the `get` method signature to allow mixed types. - Add conditional handling for SSL metrics to use uppercase class names. ```
Configuration menu - View commit details
-
Copy full SHA for 2d83337 - Browse repository at this point
Copy the full SHA 2d83337View commit details -
feat: add override attribute to parser methods (#composer-updates) Added the #[Override] attribute to methods in the Parser class to explicitly indicate they override methods of the parent class. ```
Configuration menu - View commit details
-
Copy full SHA for ef942ef - Browse repository at this point
Copy the full SHA ef942efView commit details -
feat(ParserInterface): add type hint for `setContent` parameter (#composer-updates) The `setContent` method in the ParserInterface now accepts a mixed type parameter, enhancing flexibility and compatibility with various content types. ```
Configuration menu - View commit details
-
Copy full SHA for 36b3b2d - Browse repository at this point
Copy the full SHA 36b3b2dView commit details -
feat: enforce typing and add attribute in RatioMetric - Specify string type for $description property. - Declare parameter type for RatioMetric constructor. - Add #[Override] attribute to analyze method. Based on branch name, relates to composer-updates. ```
Configuration menu - View commit details
-
Copy full SHA for 7a0f823 - Browse repository at this point
Copy the full SHA 7a0f823View commit details -
fix: add types and attributes to RedirectMetric properties (#composer-updates) Ensure proper typing for class properties and use of the Override attribute in RedirectMetric for better code clarity and compliance with PHP 8 standards. ```
Configuration menu - View commit details
-
Copy full SHA for 32e5b6f - Browse repository at this point
Copy the full SHA 32e5b6fView commit details -
feat(RobotsMetric): type-hint $description and add Override annotation Add type declaration for $description property and Override attribute to the analyze method in the RobotsMetric class. This improves code clarity and adherence to best practices. #composer-updates ```
Configuration menu - View commit details
-
Copy full SHA for 8a926ad - Browse repository at this point
Copy the full SHA 8a926adView commit details -
feat: add type hint and attribute in SitemapMetric (#composer-updates) Add explicit string type hint to $description and Override attribute to the analyze method in SitemapMetric. ```
Configuration menu - View commit details
-
Copy full SHA for 959db7c - Browse repository at this point
Copy the full SHA 959db7cView commit details -
feat: upgrade SizeMetric with type declarations (#composer-updates) Add type declarations for properties and constructor parameter. Annotate analyze method with #[Override] attribute. ```
Configuration menu - View commit details
-
Copy full SHA for b82a886 - Browse repository at this point
Copy the full SHA b82a886View commit details -
feat: add typing and override annotation to SSLMetric (#composer-updates) Added strict typing to the `$description` property and the override annotation to the `analyze` method in SSLMetric.php. ```
Configuration menu - View commit details
-
Copy full SHA for 4418643 - Browse repository at this point
Copy the full SHA 4418643View commit details -
feat: add phpstan config and rector for code quality (composer-updates) - Introduced phpstan.neon.dist to configure static analysis. - Created rector.php for automated code refactor. - Updated phpunit.xml with stricter testing configurations. ```
Configuration menu - View commit details
-
Copy full SHA for f30daf1 - Browse repository at this point
Copy the full SHA f30daf1View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.