{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":715878832,"defaultBranch":"master","name":"PHP_CodeSniffer","ownerLogin":"PHPCSStandards","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-11-08T02:29:53.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/54010123?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716540866.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"57a9ed734e2ab06c062fe0e463745eab483cf722","ref":"refs/heads/feature/generic-functioncallargument-spacing-bugfix-effciency-fix","pushedAt":"2024-05-24T08:54:26.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Generic/FunctionCallArgumentSpacing: bug fix - ignore commas in nested match structures\n\nPHP 8.0 introduced match control structures, which can be passed in a function call (though probably/hopefully this is not very common as it makes for hard to comprehend code).\n\nThe comma's within match control structures should be checked by a sniff which handled that control structure and should not be treated as comma's belonging to the function call.\n\nAs things are, this is currently not the case, which leads to false positives.\n\nFixed now.\n\nIncludes test.","shortMessageHtmlLink":"Generic/FunctionCallArgumentSpacing: bug fix - ignore commas in neste…"}},{"before":"4d252f643690a4eaa7b2eb73eb0ea3917d47c9e4","after":"82c2508c34fb444b9b93cedc6e5c8a5909574b87","ref":"refs/heads/4.0","pushedAt":"2024-05-24T08:49:58.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Generic/FunctionCallArgumentSpacing: improve code coverage","shortMessageHtmlLink":"Generic/FunctionCallArgumentSpacing: improve code coverage"}},{"before":"870843bc25ecb3a9a192983d2fd617d93749d65c","after":"0c6c929144e77601e0c98c43571e5d45ba09a07d","ref":"refs/heads/master","pushedAt":"2024-05-23T22:20:24.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Merge pull request #497 from rodrigoprimo/test-coverage-function-call-argument-spacing\n\nGeneric/FunctionCallArgumentSpacing: improve code coverage","shortMessageHtmlLink":"Merge pull request #497 from rodrigoprimo/test-coverage-function-call…"}},{"before":"8f90f7a53ce271935282967f53d0894f8f1ff877","after":"870843bc25ecb3a9a192983d2fd617d93749d65c","ref":"refs/heads/master","pushedAt":"2024-05-22T23:00:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Config: update version nr to next","shortMessageHtmlLink":"Config: update version nr to next"}},{"before":"ebdd76e0640326c81c5b071329280a0dae311b9b","after":"3623a6e164f6e678910e4e7efb246a27065fad54","ref":"refs/heads/gh-pages","pushedAt":"2024-05-22T21:56:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Updated for 3.10.1 release","shortMessageHtmlLink":"Updated for 3.10.1 release"}},{"before":"401904716c5ba82c7354bed4d24e085341fe87b8","after":"4d252f643690a4eaa7b2eb73eb0ea3917d47c9e4","ref":"refs/heads/4.0","pushedAt":"2024-05-22T21:25:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Changelog for the 3.10.1 release","shortMessageHtmlLink":"Changelog for the 3.10.1 release"}},{"before":"c9525a8ff970dca523a50f5ed41d98bfeb00122c","after":null,"ref":"refs/heads/feature/changelog-3.10.1","pushedAt":"2024-05-22T21:24:42.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"}},{"before":"3361ff206b08f27dd4a982bc4f43ace3c44fb177","after":"8f90f7a53ce271935282967f53d0894f8f1ff877","ref":"refs/heads/master","pushedAt":"2024-05-22T21:24:42.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Merge pull request #510 from PHPCSStandards/feature/changelog-3.10.1\n\nChangelog for the 3.10.1 release","shortMessageHtmlLink":"Merge pull request #510 from PHPCSStandards/feature/changelog-3.10.1"}},{"before":null,"after":"c9525a8ff970dca523a50f5ed41d98bfeb00122c","ref":"refs/heads/feature/changelog-3.10.1","pushedAt":"2024-05-22T13:00:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Changelog for the 3.10.1 release","shortMessageHtmlLink":"Changelog for the 3.10.1 release"}},{"before":"2bc8c350ebd398ece19626d15c075a532d941daa","after":"401904716c5ba82c7354bed4d24e085341fe87b8","ref":"refs/heads/4.0","pushedAt":"2024-05-22T12:58:31.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"File::find[Start|End]OfStatement(): add QA tests\n\nThis commit adds two QA tests to find potential bugs in the `File::find[Start|End]OfStatement()` methods.\n\n1. It adds a test to ensure that the return value of `File::findStartOfStatement()` is never _after_ the passed `$start` stack pointer.\n2. It adds a test to ensure that the return value of `File::findEndOfStatement()` is never _before_ the passed `$start` stack pointer.\n\nThe tests use the existing test code, but tests all non-empty tokens within the file.\n\nNote: this test doesn't test that the stack pointer returned is _correct_, only that it _could_ be correct.","shortMessageHtmlLink":"File::find[Start|End]OfStatement(): add QA tests"}},{"before":"a82f02e42fb5aad10bc6cdecbef00b9e07da5569","after":null,"ref":"refs/heads/feature/file-findstartendofstatement-add-extra-qa-test","pushedAt":"2024-05-22T12:57:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"}},{"before":"fb351b35ee88f1c1c38eca37510d8eed0642ddd0","after":"3361ff206b08f27dd4a982bc4f43ace3c44fb177","ref":"refs/heads/master","pushedAt":"2024-05-22T12:57:21.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Merge pull request #509 from PHPCSStandards/feature/file-findstartendofstatement-add-extra-qa-test\n\nFile::find[Start|End]OfStatement(): add QA tests","shortMessageHtmlLink":"Merge pull request #509 from PHPCSStandards/feature/file-findstartend…"}},{"before":"aec0d24c1825ba69bcbc92ab83fed79edebb2a4b","after":"2bc8c350ebd398ece19626d15c075a532d941daa","ref":"refs/heads/4.0","pushedAt":"2024-05-22T12:57:00.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Tokenizer/PHP: minor doc fix in type handling layer","shortMessageHtmlLink":"Tokenizer/PHP: minor doc fix in type handling layer"}},{"before":"83afad8af3fb44309c41b2d30211a24c639ed62c","after":null,"ref":"refs/heads/feature/tokenizer-php-harden-the-dnf-layer-some-more","pushedAt":"2024-05-22T12:52:02.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"}},{"before":"027c0cbe7dee49edbd22a6d60e435f135f0cb629","after":"fb351b35ee88f1c1c38eca37510d8eed0642ddd0","ref":"refs/heads/master","pushedAt":"2024-05-22T12:52:01.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Merge pull request #508 from PHPCSStandards/feature/tokenizer-php-harden-the-dnf-layer-some-more\n\nTokenizer/PHP: add extra hardening to the (DNF) type handling + efficiency improvement","shortMessageHtmlLink":"Merge pull request #508 from PHPCSStandards/feature/tokenizer-php-har…"}},{"before":"003de186d0fe19dfd6cbc3c8d7c646fe9ad30be9","after":"a82f02e42fb5aad10bc6cdecbef00b9e07da5569","ref":"refs/heads/feature/file-findstartendofstatement-add-extra-qa-test","pushedAt":"2024-05-21T23:06:42.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"File::find[Start|End]OfStatement(): add QA tests\n\nThis commit adds two QA tests to find potential bugs in the `File::find[Start|End]OfStatement()` methods.\n\n1. It adds a test to ensure that the return value of `File::findStartOfStatement()` is never _after_ the passed `$start` stack pointer.\n2. It adds a test to ensure that the return value of `File::findEndOfStatement()` is never _before_ the passed `$start` stack pointer.\n\nThe tests use the existing test code, but tests all non-empty tokens within the file.\n\nNote: this test doesn't test that the stack pointer returned is _correct_, only that it _could_ be correct.","shortMessageHtmlLink":"File::find[Start|End]OfStatement(): add QA tests"}},{"before":null,"after":"003de186d0fe19dfd6cbc3c8d7c646fe9ad30be9","ref":"refs/heads/feature/file-findstartendofstatement-add-extra-qa-test","pushedAt":"2024-05-21T22:55:29.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"File::find[Start|End]OfStatement(): add QA tests\n\nThis commit adds two QA tests to find potential bugs in the `File::find[Start|End]OfStatement()` methods.\n\n1. It adds a test to ensure that the return value of `File::findStartOfStatement()` is never _after_ the passed `$start` stack pointer.\n2. It adds a test to ensure that the return value of `File::findEndOfStatement()` is never _before_ the passed `$start` stack pointer.\n\nThe tests use the existing test code, but tests all non-empty tokens within the file.\n\nNote: this test doesn't test that the stack pointer returned is _correct_, only that it _could_ be correct.","shortMessageHtmlLink":"File::find[Start|End]OfStatement(): add QA tests"}},{"before":null,"after":"83afad8af3fb44309c41b2d30211a24c639ed62c","ref":"refs/heads/feature/tokenizer-php-harden-the-dnf-layer-some-more","pushedAt":"2024-05-21T22:53:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Tokenizer/PHP: minor doc fix in type handling layer","shortMessageHtmlLink":"Tokenizer/PHP: minor doc fix in type handling layer"}},{"before":"4b274258ef53ed978cac215c8d51b657c828f760","after":"aec0d24c1825ba69bcbc92ab83fed79edebb2a4b","ref":"refs/heads/4.0","pushedAt":"2024-05-21T22:50:19.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Generic/ScopeIndent: add tests for issues 110 and 437\n\nBoth the mentioned issues are fixed by the improvements to the `File::findStartOfStatement()` method in this same PR.\n\nFixes 110\nFixes 437\nFixes squizlabs/PHP_CodeSniffer 3875","shortMessageHtmlLink":"Generic/ScopeIndent: add tests for issues 110 and 437"}},{"before":"28c376eff93fccd05a253fa0fa20df54b872e677","after":null,"ref":"refs/heads/feature/110-437-generic-scopeindent-fix-undefined-array-index-notice","pushedAt":"2024-05-21T22:48:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"}},{"before":"808dff884876a81690870a8493447b9bd082d376","after":"027c0cbe7dee49edbd22a6d60e435f135f0cb629","ref":"refs/heads/master","pushedAt":"2024-05-21T22:48:31.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Merge pull request #502 from PHPCSStandards/feature/110-437-generic-scopeindent-fix-undefined-array-index-notice\n\nFile::findStartOfStatement(): 3 bug fixes related to `match` expressions","shortMessageHtmlLink":"Merge pull request #502 from PHPCSStandards/feature/110-437-generic-s…"}},{"before":"f2ac92f12589daf0a27177c39741359f0e984294","after":"28c376eff93fccd05a253fa0fa20df54b872e677","ref":"refs/heads/feature/110-437-generic-scopeindent-fix-undefined-array-index-notice","pushedAt":"2024-05-21T22:20:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Generic/ScopeIndent: add tests for issues 110 and 437\n\nBoth the mentioned issues are fixed by the improvements to the `File::findStartOfStatement()` method in this same PR.\n\nFixes 110\nFixes 437\nFixes squizlabs/PHP_CodeSniffer 3875","shortMessageHtmlLink":"Generic/ScopeIndent: add tests for issues 110 and 437"}},{"before":"0552d143430fd7124725ec67eb94885c7ecc4c12","after":"4b274258ef53ed978cac215c8d51b657c828f760","ref":"refs/heads/4.0","pushedAt":"2024-05-21T22:20:00.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters (#507)\n\nThe last parameter in a function call using named arguments could be confused with a return type by the tokenizer layer handling type declarations.\r\n\r\nThe net effect of this was that the close parenthesis of the function call would be retokenized to `T_TYPE_CLOSE_PARENTHESIS`, which is incorrect and would lead to sniffs incorrectly acting on that information.\r\n\r\nFixed now.\r\n\r\nIncludes tests.\r\n\r\nFixes 504\r\nFixes 505","shortMessageHtmlLink":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters ("}},{"before":"1a44e1720c80e415c9b8c696ee20acedb6840d21","after":null,"ref":"refs/heads/feature/504-505-tokenizer-php-bugfix-named-param-vs-dnf-type","pushedAt":"2024-05-21T22:11:46.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"}},{"before":"d49587cf7cc3635c9059e2778325240eb0eb2b57","after":"808dff884876a81690870a8493447b9bd082d376","ref":"refs/heads/master","pushedAt":"2024-05-21T22:11:45.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters (#507)\n\nThe last parameter in a function call using named arguments could be confused with a return type by the tokenizer layer handling type declarations.\r\n\r\nThe net effect of this was that the close parenthesis of the function call would be retokenized to `T_TYPE_CLOSE_PARENTHESIS`, which is incorrect and would lead to sniffs incorrectly acting on that information.\r\n\r\nFixed now.\r\n\r\nIncludes tests.\r\n\r\nFixes 504\r\nFixes 505","shortMessageHtmlLink":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters ("}},{"before":"8f0d8de9763d99d3801d7d9b7cf303116a739eb4","after":"1a44e1720c80e415c9b8c696ee20acedb6840d21","ref":"refs/heads/feature/504-505-tokenizer-php-bugfix-named-param-vs-dnf-type","pushedAt":"2024-05-21T14:09:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Tests/DNFTypesTest: add extra safeguard for bitwise or within normal parentheses","shortMessageHtmlLink":"Tests/DNFTypesTest: add extra safeguard for bitwise or within normal …"}},{"before":"99e43996766ca8bad315c549f7321cfa86c07bcc","after":"8f0d8de9763d99d3801d7d9b7cf303116a739eb4","ref":"refs/heads/feature/504-505-tokenizer-php-bugfix-named-param-vs-dnf-type","pushedAt":"2024-05-21T11:18:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters\n\nThe last parameter in a function call using named arguments could be confused with a return type by the tokenizer layer handling type declarations.\n\nThe net effect of this was that the close parenthesis of the function call would be retokenized to `T_TYPE_CLOSE_PARENTHESIS`, which is incorrect and would lead to sniffs incorrectly acting on that information.\n\nFixed now.\n\nIncludes tests.\n\nFixes 504\nFixes 505","shortMessageHtmlLink":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters"}},{"before":"af151ac169b8b4ee83fc8c116092d2eb54e56b4d","after":"99e43996766ca8bad315c549f7321cfa86c07bcc","ref":"refs/heads/feature/504-505-tokenizer-php-bugfix-named-param-vs-dnf-type","pushedAt":"2024-05-21T11:14:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters\n\nThe last parameter in a function call using named arguments could be confused with a return type by the tokenizer layer handling type declarations.\n\nThe net effect of this was that the close parenthesis of the function call would be retokenized to `T_TYPE_CLOSE_PARENTHESIS`, which is incorrect and would lead to sniffs incorrectly acting on that information.\n\nFixed now.\n\nIncludes tests.\n\nFixes 504\nFixes 505","shortMessageHtmlLink":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters"}},{"before":null,"after":"af151ac169b8b4ee83fc8c116092d2eb54e56b4d","ref":"refs/heads/feature/504-505-tokenizer-php-bugfix-named-param-vs-dnf-type","pushedAt":"2024-05-21T11:13:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"},"commit":{"message":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters\n\nThe last parameter in a function call using named arguments could be confused with a return type by the tokenizer layer.\n\nThe net effect of this was that the close parenthesis of the function call would be retokenized to `T_TYPE_CLOSE_PARENTHESIS`, which is incorrect and would lead to sniffs incorrectly acting on that information.\n\nFixed now.\n\nIncludes tests.\n\nFixes 504\nFixes 505","shortMessageHtmlLink":"Tokenizer/PHP: fix handling of \"DNF look-a-likes\" in named parameters"}},{"before":"c511f25a41dcb719e8ccbfe80aae39e44ccd15c0","after":null,"ref":"refs/heads/feature/dnftypes-minor-cleanup","pushedAt":"2024-05-21T11:13:02.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"jrfnl","name":"Juliette","path":"/jrfnl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/663378?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEUtXUNAA","startCursor":null,"endCursor":null}},"title":"Activity · PHPCSStandards/PHP_CodeSniffer"}