{"id":23863488,"url":"https://github.com/beechit/typo3cms","last_synced_at":"2026-06-04T08:30:19.926Z","repository":{"id":14720950,"uuid":"17441563","full_name":"beechit/TYPO3CMS","owner":"beechit","description":"This package contains a selection of sniffs which implements the Coding Guidelines for the TYPO3 CMS.","archived":false,"fork":false,"pushed_at":"2014-03-01T15:47:59.000Z","size":382,"stargazers_count":0,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T07:59:54.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beechit.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-05T13:32:10.000Z","updated_at":"2020-03-13T14:58:13.000Z","dependencies_parsed_at":"2022-09-11T09:40:10.437Z","dependency_job_id":null,"html_url":"https://github.com/beechit/TYPO3CMS","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2FTYPO3CMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2FTYPO3CMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2FTYPO3CMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beechit%2FTYPO3CMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beechit","download_url":"https://codeload.github.com/beechit/TYPO3CMS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240177055,"owners_count":19760308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-03T08:00:01.273Z","updated_at":"2026-06-04T08:30:19.851Z","avatar_url":"https://github.com/beechit.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://badge.waffle.io/typo3-ci/typo3cms.png?label=ready\u0026title=Ready \n :target: https://waffle.io/typo3-ci/typo3cms\n :alt: 'Stories in Ready'\n=============================\nTYPO3CMS CodeSniffer standard\n=============================\n\nDescription\n===========\n\nThis standard consist of a subset of sniffs from the TYPO3SniffPool and implements the Coding Guidelines for TYPO3CMS. \n\nIt contains just a ruleset.xml file in which we refer to the sniffs from PHP_CodeSniffer and from TYPO3SniffPool.\n\nHow to get\n==========\n\nIn case you didn't have install the TYPO3SniffPool or the PHP_CodeSniffer yet - no problem. This packages are marked as dependencies of this standard and will install automatically.\n\nThere are several ways to get the standard, which I am going to describe now. There is no right or wrong. Which way you choose depends on your preferences and at least on your requirements.\n\n\nPEAR\n----\n\nThe easiest way to install this standard is via PEAR. Just call this command from your terminal:\n \n::\n \n        $ pear channel-discover pear.typo3.org\n        $ pear pear config-set preferred_state alpha\n        $ pear install typo3/TYPO3CMS\n        $ pear pear config-set preferred_state stable\n \nThis command will also install the TYPO3SniffPool version 1.0.0-alpha and the PHP_CodeSniffer into your PEAR path.\n\nBe sure that the standard is there:\n\n::\n\n        $ phpcs -i\n        $ The installed coding standards are MySource, PEAR, PHPCS, PSR1, PSR2, Squiz, TYPO3CMS, TYPO3SniffPool and Zend\n\nHave also a look at http://pear.typo3.org for more informations.\n\nComposer\n--------\n\nWe also support `Composer \u003chttp://getcomposer.org/\u003e`_, a dependency manager for PHP. \n\nCreate a composer.json in the root folder of your project and declare this standard as a dependency:\n\n::\n\n\n        {\n                \"require\": {\n                        \"typo3-ci/typo3cms\": \"1.0.0-alpha\"\n                }\n        }\n\nThis will install version 1.0.0-alpha of this standard. If you live on the edge, try:\n\n::\n\n        {\n                \"require\": {\n                        \"typo3-ci/typo3cms\": \"dev-master\"\n                }\n        }\n\nSince the package is managed with `Packagist \u003chttps://packagist.org\u003e`_ this is all what you need.\n\nAll these commands will also install the PHP_CodeSniffer and the TYPO3SniffPool into the *vendor/* folder of your project. For more informations about Composer have a look at their `documentation \u003chttp://getcomposer.org/doc/00-intro.md\u003e`_.\n\nGit\n---\n\nThe third way is to clone the repository from github. **In this case you have to take care about the dependencies by yourself**.\n\n::\n        \n        $ git clone https://github.com/typo3-ci/TYPO3CMS.git\n        $ git clone https://github.com/typo3-ci/TYPO3SniffPool.git\n\nThere is a 3b way to get the standards in at once. We have an umbrella repository which contains the three standards as subprojects. The subprojects points every time to the latest stable version, never to the master branch but to a tag.\n\n::\n\n        $ git clone --recursive https://github.com/typo3-ci/TYPO3_CodingStandard.git\n\nHow to use\n==========\n\nAs various the installations methods are, as various the usage is.\n\nPEAR\n----\n\nIf you installed this standard via PEAR you are able to call the phpcs command globally.\n\n::\n\n        $ phpcs --standard=TYPO3CMS /path/to/folder\n\nComposer\n--------\n\nChange into your project folder and call the PHP_CodeSniffer from there:\n\n::\n       \n        $ cd myproject\n        $ php vendor/squizlabs/php_codesniffer/scripts/phpcs --standard=TYPO3CMS /path/to/folder\n\nIts also possible to call this standard with a global installed PHP_CodeSniffer (f.e. via PEAR)\n\n::\n        \n        $ cd myproject\n        $ phpcs --standard=vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/TYPO3CMS/ruleset.xml /path/to/folder\n\nGit\n---\n\nAfter you cloned the standard and it dependencies the usage is nearly the same as above. There are two main methods. \n\n1. Copy the standard into the *Standards/* folder of the PHP_CodeSniffer and call it with *--standard=TYPO3CMS*\n\n2. Put the standard at any place you want and call point to it absolutely *--standard=/path/to/TYPO3CMS/ruleset.xml*\n\n\nFurther informations\n====================\n\n* http://forge.typo3.org/projects/team-php_codesniffer/wiki/Using_the_TYPO3_Coding_Standard\n* https://github.com/squizlabs/PHP_CodeSniffer\n* https://github.com/typo3-ci/TYPO3_CodingStandard\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeechit%2Ftypo3cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeechit%2Ftypo3cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeechit%2Ftypo3cms/lists"}