PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Eric Sizemore   Clock Abstraction   composer.json   Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Clock Abstraction
Access the time clock values following PSR-20
Author: By
Last change: Prepare 1.1.0 release
Update phpstan/* to 2.0
feat: add new 'adjustTo' method on FrozenClock

Also update composer.lock and deps. Testing might still need some work, among other things.
chore: bring in line with other projects
Update dependency infection/infection to ^0.29
refresh composer.lock, some cleanup/fixes
doc updates, issue/pr templates, coding standards updates
chore(deps) lock file maintenance
Date: 1 month ago
Size: 2,887 bytes
 

Contents

Class file image Download
{ "name": "esi/clock", "description": "Yet another PSR-20 clock implementation", "license": "MIT", "type": "library", "keywords": [ "clock", "clock-interface", "time", "psr20", "psr-20" ], "authors": [ { "name": "Eric Sizemore", "email": "admin@secondversion.com", "homepage": "https://www.secondversion.com" } ], "support": { "issues": "https://github.com/ericsizemore/clock/issues", "forum": "https://github.com/ericsizemore/clock/discussions", "source": "https://github.com/ericsizemore/clock/tree/master", "security": "https://github.com/ericsizemore/clock/security/policy" }, "funding": [ { "type": "custom", "url": "https://ko-fi.com/ericsizemore" }, { "type": "github", "url": "https://github.com/ericsizemore" }, { "type": "tidelift", "url": "https://tidelift.com/funding/github/packagist/esi/clock" } ], "require": { "php": "^8.2 <8.5", "psr/clock": "^1.0", "symfony/polyfill-php83": "^1.31" }, "require-dev": { "esi/phpunit-coverage-check": "^2.0", "friendsofphp/php-cs-fixer": "^3.64", "infection/infection": "^0.29", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^2.0", "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^11.4", "psalm/plugin-phpunit": "^0.19.0", "vimeo/psalm": "dev-master" }, "provide": { "psr/clock-implementation": "1.0" }, "minimum-stability": "dev", "prefer-stable": true, "autoload": { "psr-4": { "Esi\\Clock\\": "src/" } }, "autoload-dev": { "psr-4": { "Esi\\Clock\\Tests\\": "tests/src" } }, "config": { "allow-plugins": { "infection/extension-installer": true, "phpstan/extension-installer": true } }, "extra": { "branch-alias": { "dev-master": "1.x-dev" } }, "scripts": { "analyze:mutation": "vendor/bin/infection --threads=max --configuration=infection.json5 --min-msi=100 --min-covered-msi=100", "analyze:psalm": "vendor/bin/psalm -c psalm.xml --no-diff", "analyze:static": "vendor/bin/phpstan analyse -c phpstan.neon -vvv", "coverage": "vendor/bin/coverage-check build/logs/clover.xml 100", "cs:check": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff", "cs:fix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php", "test": "phpunit" } }