tyhpdef / squizlabs-php_codesniffer
Tyhp type definitions for squizlabs/php_codesniffer 4.0.4.
Package info
github.com/tyhpproject-packages/squizlabs-php_codesniffer
Type:metapackage
pkg:composer/tyhpdef/squizlabs-php_codesniffer
Requires
- tyhpdef/squizlabs-php_codesniffer-impl: ~4.0.4.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
tyhpdef/squizlabs-php_codesniffer
Tyhp type definitions for squizlabs/php_codesniffer 4.0.4.
composer require --dev tyhpdef/squizlabs-php_codesniffer:4.0.4
This is a metapackage. Composer also installs tyhpdef/squizlabs-php_codesniffer-impl (type files).
Require this name, not tyhpdef/squizlabs-php_codesniffer-impl.
See https://tyhplang.com.
Maintain squizlabs/php_codesniffer? Ship the types yourself
If you are a Packagist maintainer of squizlabs/php_codesniffer, you can take over these
types.
Copy _tyhpdef/ from tyhpdef/squizlabs-php_codesniffer-impl (Apache-2.0; keep the NOTICE).
Then either:
- Bundle the files in
squizlabs/php_codesnifferand setextra.tyhp.packageon thatcomposer.json, plus"replace": { "tyhpdef/squizlabs-php_codesniffer": "self.version" }, or - Publish a sibling types package under your vendor, versioned with
squizlabs/php_codesniffer(sameX.Y.Z). Setextra.tyhp.packagethere,requiresquizlabs/php_codesnifferwith a real constraint,"replace": { "tyhpdef/squizlabs-php_codesniffer": "self.version" }, and setextra.tyhp.tyhpdefonsquizlabs/php_codesnifferto your sibling’s Composer name.
Ship that to Packagist first, then open an issue:
https://github.com/tyhpproject/tyhp-runtime-src/issues/new?template=tyhpdef-ownership.yml
We verify Packagist ownership and that the types parse and cover the PHP
API, then stop publishing community tags for those versions. We do not
transfer the tyhpdef/squizlabs-php_codesniffer Packagist name.
Full process: TYHPDEF_OWNERSHIP.md in
https://github.com/tyhpproject/tyhp-runtime-src