From 0285cc0963943af2dfd1ba6f3b914b93e80c8130 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Jun 2025 04:33:05 +0000 Subject: [PATCH 1/2] Bump pbkdf2 from 3.1.2 to 3.1.3 Bumps [pbkdf2](https://github.com/crypto-browserify/pbkdf2) from 3.1.2 to 3.1.3. - [Changelog](https://github.com/browserify/pbkdf2/blob/master/CHANGELOG.md) - [Commits](https://github.com/crypto-browserify/pbkdf2/compare/v3.1.2...v3.1.3) --- updated-dependencies: - dependency-name: pbkdf2 dependency-version: 3.1.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 255 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 243 insertions(+), 12 deletions(-) diff --git a/yarn.lock b/yarn.lock index 59574329b..abb1d74a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1440,6 +1440,13 @@ autoprefixer@^10.4.0: picocolors "^1.0.0" postcss-value-parser "^4.2.0" +available-typed-arrays@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz#a5cc375d6a03c2efc87a553f3e0b1522def14846" + integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== + dependencies: + possible-typed-array-names "^1.0.0" + axios@^0.21.1: version "0.21.4" resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" @@ -1697,6 +1704,14 @@ bytes@3.1.1: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.1.tgz#3f018291cb4cbad9accb6e6970bca9c8889e879a" integrity sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg== +call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" + integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" @@ -1705,6 +1720,24 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" +call-bind@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.8.tgz#0736a9660f537e3388826f440d5ec45f744eaa4c" + integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww== + dependencies: + call-bind-apply-helpers "^1.0.0" + es-define-property "^1.0.0" + get-intrinsic "^1.2.4" + set-function-length "^1.2.2" + +call-bound@^1.0.3, call-bound@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.4.tgz#238de935d2a2a692928c538c7ccfa91067fd062a" + integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg== + dependencies: + call-bind-apply-helpers "^1.0.2" + get-intrinsic "^1.3.0" + callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -2037,7 +2070,7 @@ create-ecdh@^4.0.0: bn.js "^4.1.0" elliptic "^6.5.3" -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: +create-hash@^1.1.0, create-hash@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== @@ -2048,7 +2081,17 @@ create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: ripemd160 "^2.0.1" sha.js "^2.4.0" -create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: +create-hash@~1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.1.3.tgz#606042ac8b9262750f483caddab0f5819172d8fd" + integrity sha512-snRpch/kwQhcdlnZKYanNF1m0RDlrCdSKQaH87w1FCFPVPNCQ/Il9QJKAX2jVBZddRdaHBMC+zXa9Gw9tmkNUA== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + ripemd160 "^2.0.0" + sha.js "^2.4.0" + +create-hmac@^1.1.0, create-hmac@^1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== @@ -2274,6 +2317,15 @@ default-gateway@^6.0.0: dependencies: execa "^5.0.0" +define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + define-lazy-prop@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" @@ -2419,6 +2471,15 @@ dotenv@^10.0.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== +dunder-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" + integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== + dependencies: + call-bind-apply-helpers "^1.0.1" + es-errors "^1.3.0" + gopd "^1.2.0" + ee-first@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" @@ -2487,11 +2548,28 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" +es-define-property@^1.0.0, es-define-property@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" + integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es-module-lexer@^0.9.0: version "0.9.3" resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== +es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" + integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== + dependencies: + es-errors "^1.3.0" + es5-ext@^0.10.35, es5-ext@^0.10.50: version "0.10.53" resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1" @@ -2739,6 +2817,13 @@ follow-redirects@^1.0.0, follow-redirects@^1.14.0: resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.7.tgz#2004c02eb9436eee9a21446a6477debf17e81685" integrity sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ== +for-each@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.5.tgz#d650688027826920feeb0af747ee7b9421a41d47" + integrity sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg== + dependencies: + is-callable "^1.2.7" + forwarded@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" @@ -2783,6 +2868,11 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" @@ -2802,6 +2892,30 @@ get-intrinsic@^1.0.2: has "^1.0.3" has-symbols "^1.0.1" +get-intrinsic@^1.2.4, get-intrinsic@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" + integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== + dependencies: + call-bind-apply-helpers "^1.0.2" + es-define-property "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.1.1" + function-bind "^1.1.2" + get-proto "^1.0.1" + gopd "^1.2.0" + has-symbols "^1.1.0" + hasown "^2.0.2" + math-intrinsics "^1.1.0" + +get-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1" + integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== + dependencies: + dunder-proto "^1.0.1" + es-object-atoms "^1.0.0" + get-stream@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" @@ -2862,6 +2976,11 @@ globby@^11.0.1: merge2 "^1.4.1" slash "^3.0.0" +gopd@^1.0.1, gopd@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" + integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== + graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: version "4.2.9" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96" @@ -2887,11 +3006,23 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + has-symbols@^1.0.1, has-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423" integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw== +has-symbols@^1.0.3, has-symbols@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" + integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== + has-tostringtag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" @@ -2899,6 +3030,13 @@ has-tostringtag@^1.0.0: dependencies: has-symbols "^1.0.2" +has-tostringtag@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== + dependencies: + has-symbols "^1.0.3" + has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -2906,6 +3044,13 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" +hash-base@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-2.0.2.tgz#66ea1d856db4e8a5470cadf6fce23ae5244ef2e1" + integrity sha512-0TROgQ1/SxE6KmxWSvXHvRj90/Xo1JvZShofnYF+f6ZsGtR4eES7WfrQzPalmyagfKZCXpVnitiRebZulWsbiw== + dependencies: + inherits "^2.0.1" + hash-base@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" @@ -2928,6 +3073,13 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + he@^1.1.0, he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" @@ -3202,6 +3354,11 @@ is-buffer@~1.1.6: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== +is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + is-core-module@^2.8.0: version "2.8.1" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211" @@ -3285,6 +3442,13 @@ is-stream@^2.0.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== +is-typed-array@^1.1.14: + version "1.1.15" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.15.tgz#4bfb4a45b61cee83a5a46fba778e4e8d59c0ce0b" + integrity sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ== + dependencies: + which-typed-array "^1.1.16" + is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" @@ -3297,6 +3461,11 @@ isarray@^1.0.0, isarray@~1.0.0: resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" @@ -3548,6 +3717,11 @@ make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: dependencies: semver "^6.0.0" +math-intrinsics@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" + integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== + md5.js@^1.3.4: version "1.3.5" resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" @@ -4043,15 +4217,16 @@ path-type@^4.0.0: integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== pbkdf2@^3.0.3: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" - integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + version "3.1.3" + resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.3.tgz#8be674d591d65658113424592a95d1517318dd4b" + integrity sha512-wfRLBZ0feWRhCIkoMB6ete7czJcnNnqRpcoWQBLqatqXXmelSRqfdDK4F3u9T2s2cXas/hQJcryI/4lAL+XTlA== dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" + create-hash "~1.1.3" + create-hmac "^1.1.7" + ripemd160 "=2.0.1" + safe-buffer "^5.2.1" + sha.js "^2.4.11" + to-buffer "^1.2.0" perfect-scrollbar@^1.5.0: version "1.5.5" @@ -4094,6 +4269,11 @@ portfinder@^1.0.28: debug "^3.1.1" mkdirp "^0.5.5" +possible-typed-array-names@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz#93e3582bc0e5426586d9d07b79ee40fc841de4ae" + integrity sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg== + postcss-calc@^8.2.0: version "8.2.2" resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.2.tgz#9706e7399e8ec8b61a47830dcf1f21391af23373" @@ -4686,6 +4866,14 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" +ripemd160@=2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.1.tgz#0f4584295c53a3628af7e6d79aca21ce57d1c6e7" + integrity sha512-J7f4wutN8mdbV08MJnXibYpCOPHR+yzy+iQ/AsjMv2j8cLavQ8VGagDFUwwTAdF8FmRKVeNpbTTEwNHCW1g94w== + dependencies: + hash-base "^2.0.0" + inherits "^2.0.1" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" @@ -4706,7 +4894,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -4842,6 +5030,18 @@ serve-static@1.14.2: parseurl "~1.3.3" send "0.17.2" +set-function-length@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + setimmediate@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" @@ -4857,7 +5057,7 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -sha.js@^2.4.0, sha.js@^2.4.8: +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: version "2.4.11" resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== @@ -5179,6 +5379,15 @@ to-arraybuffer@^1.0.0: resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M= +to-buffer@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.2.1.tgz#2ce650cdb262e9112a18e65dc29dcb513c8155e0" + integrity sha512-tB82LpAIWjhLYbqjx3X4zEeHN6M8CiuOEy2JY8SEQVdYRe3CCHOFaqrBW1doLDrfpWhplcW7BL+bO3/6S3pcDQ== + dependencies: + isarray "^2.0.5" + safe-buffer "^5.2.1" + typed-array-buffer "^1.0.3" + to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" @@ -5224,6 +5433,15 @@ type@^2.5.0: resolved "https://registry.yarnpkg.com/type/-/type-2.5.0.tgz#0a2e78c2e77907b252abe5f298c1b01c63f0db3d" integrity sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw== +typed-array-buffer@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz#a72395450a4869ec033fd549371b47af3a2ee536" + integrity sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + is-typed-array "^1.1.14" + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -5516,6 +5734,19 @@ websocket-extensions@>=0.1.1: resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== +which-typed-array@^1.1.16: + version "1.1.19" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.19.tgz#df03842e870b6b88e117524a4b364b6fc689f956" + integrity sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.8" + call-bound "^1.0.4" + for-each "^0.3.5" + get-proto "^1.0.1" + gopd "^1.2.0" + has-tostringtag "^1.0.2" + which@^2.0.1, which@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" From 659575998c9601e08eeea9f2d6c451d2f3cde4b1 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 24 Jun 2025 04:33:19 +0000 Subject: [PATCH 2/2] Apply fixes from StyleCI --- .../Models/Traits/Scope/AnnouncementScope.php | 8 ++++---- app/Domains/Auth/Events/Role/RoleCreated.php | 2 +- app/Domains/Auth/Events/Role/RoleDeleted.php | 2 +- app/Domains/Auth/Events/Role/RoleUpdated.php | 2 +- app/Domains/Auth/Events/User/UserCreated.php | 2 +- app/Domains/Auth/Events/User/UserDeleted.php | 2 +- app/Domains/Auth/Events/User/UserDestroyed.php | 2 +- app/Domains/Auth/Events/User/UserLoggedIn.php | 2 +- app/Domains/Auth/Events/User/UserRestored.php | 2 +- .../Auth/Events/User/UserStatusChanged.php | 2 +- app/Domains/Auth/Events/User/UserUpdated.php | 2 +- .../Backend/User/DeactivatedUserController.php | 2 +- .../Frontend/Auth/LoginController.php | 2 +- .../Frontend/Auth/SocialController.php | 4 ++-- .../Auth/Http/Middleware/AdminCheck.php | 2 +- .../Auth/Http/Middleware/PasswordExpires.php | 2 +- .../Auth/Http/Middleware/SuperAdminCheck.php | 2 +- .../TwoFactorAuthenticationStatus.php | 2 +- app/Domains/Auth/Http/Middleware/UserCheck.php | 2 +- .../Auth/Http/Middleware/UserTypeCheck.php | 4 ++-- .../Auth/Listeners/RoleEventListener.php | 6 +++--- .../Auth/Listeners/UserEventListener.php | 16 ++++++++-------- .../Models/Traits/Attribute/UserAttribute.php | 2 +- .../Auth/Models/Traits/Method/UserMethod.php | 2 +- .../Models/Traits/Scope/PermissionScope.php | 8 ++++---- .../Auth/Models/Traits/Scope/RoleScope.php | 4 ++-- .../Auth/Models/Traits/Scope/UserScope.php | 18 +++++++++--------- app/Domains/Auth/Rules/UnusedPassword.php | 2 +- app/Domains/Auth/Services/UserService.php | 10 +++++----- app/Exceptions/GeneralException.php | 2 +- app/Exceptions/ReportableException.php | 2 +- app/Helpers/Global/GeneralHelper.php | 2 +- app/Helpers/Global/LocaleHelper.php | 18 ++++++------------ app/Helpers/Global/SystemHelper.php | 5 ++--- app/Http/Controllers/LocaleController.php | 2 +- app/Models/Traits/Uuid.php | 4 ++-- app/Services/BaseService.php | 10 +++++----- ...0_02_25_034148_create_permission_tables.php | 4 ++-- database/seeders/Traits/TruncateTable.php | 4 ++-- 39 files changed, 82 insertions(+), 89 deletions(-) diff --git a/app/Domains/Announcement/Models/Traits/Scope/AnnouncementScope.php b/app/Domains/Announcement/Models/Traits/Scope/AnnouncementScope.php index cf5366970..c2d57bcd4 100644 --- a/app/Domains/Announcement/Models/Traits/Scope/AnnouncementScope.php +++ b/app/Domains/Announcement/Models/Traits/Scope/AnnouncementScope.php @@ -8,7 +8,7 @@ trait AnnouncementScope { /** - * @param $query + * @param $query * @return mixed */ public function scopeEnabled($query) @@ -17,8 +17,8 @@ public function scopeEnabled($query) } /** - * @param $query - * @param $area + * @param $query + * @param $area * @return mixed */ public function scopeForArea($query, $area) @@ -30,7 +30,7 @@ public function scopeForArea($query, $area) } /** - * @param $query + * @param $query * @return mixed */ public function scopeInTimeFrame($query) diff --git a/app/Domains/Auth/Events/Role/RoleCreated.php b/app/Domains/Auth/Events/Role/RoleCreated.php index 4acc86a9e..569b2f685 100644 --- a/app/Domains/Auth/Events/Role/RoleCreated.php +++ b/app/Domains/Auth/Events/Role/RoleCreated.php @@ -18,7 +18,7 @@ class RoleCreated public $role; /** - * @param $role + * @param $role */ public function __construct(Role $role) { diff --git a/app/Domains/Auth/Events/Role/RoleDeleted.php b/app/Domains/Auth/Events/Role/RoleDeleted.php index 0626e02cb..3c680ec81 100644 --- a/app/Domains/Auth/Events/Role/RoleDeleted.php +++ b/app/Domains/Auth/Events/Role/RoleDeleted.php @@ -18,7 +18,7 @@ class RoleDeleted public $role; /** - * @param $role + * @param $role */ public function __construct(Role $role) { diff --git a/app/Domains/Auth/Events/Role/RoleUpdated.php b/app/Domains/Auth/Events/Role/RoleUpdated.php index afb06c02c..ef4c8801d 100644 --- a/app/Domains/Auth/Events/Role/RoleUpdated.php +++ b/app/Domains/Auth/Events/Role/RoleUpdated.php @@ -18,7 +18,7 @@ class RoleUpdated public $role; /** - * @param $role + * @param $role */ public function __construct(Role $role) { diff --git a/app/Domains/Auth/Events/User/UserCreated.php b/app/Domains/Auth/Events/User/UserCreated.php index 716e0e478..567e6f043 100644 --- a/app/Domains/Auth/Events/User/UserCreated.php +++ b/app/Domains/Auth/Events/User/UserCreated.php @@ -18,7 +18,7 @@ class UserCreated public $user; /** - * @param $user + * @param $user */ public function __construct(User $user) { diff --git a/app/Domains/Auth/Events/User/UserDeleted.php b/app/Domains/Auth/Events/User/UserDeleted.php index d0f5da921..c5fc69fb1 100644 --- a/app/Domains/Auth/Events/User/UserDeleted.php +++ b/app/Domains/Auth/Events/User/UserDeleted.php @@ -18,7 +18,7 @@ class UserDeleted public $user; /** - * @param $user + * @param $user */ public function __construct(User $user) { diff --git a/app/Domains/Auth/Events/User/UserDestroyed.php b/app/Domains/Auth/Events/User/UserDestroyed.php index 20d78a023..363fee24d 100644 --- a/app/Domains/Auth/Events/User/UserDestroyed.php +++ b/app/Domains/Auth/Events/User/UserDestroyed.php @@ -18,7 +18,7 @@ class UserDestroyed public $user; /** - * @param $user + * @param $user */ public function __construct(User $user) { diff --git a/app/Domains/Auth/Events/User/UserLoggedIn.php b/app/Domains/Auth/Events/User/UserLoggedIn.php index 8cb31c619..e4e736610 100644 --- a/app/Domains/Auth/Events/User/UserLoggedIn.php +++ b/app/Domains/Auth/Events/User/UserLoggedIn.php @@ -18,7 +18,7 @@ class UserLoggedIn public $user; /** - * @param $user + * @param $user */ public function __construct(User $user) { diff --git a/app/Domains/Auth/Events/User/UserRestored.php b/app/Domains/Auth/Events/User/UserRestored.php index 7c65c2b18..161f1e667 100644 --- a/app/Domains/Auth/Events/User/UserRestored.php +++ b/app/Domains/Auth/Events/User/UserRestored.php @@ -18,7 +18,7 @@ class UserRestored public $user; /** - * @param $user + * @param $user */ public function __construct(User $user) { diff --git a/app/Domains/Auth/Events/User/UserStatusChanged.php b/app/Domains/Auth/Events/User/UserStatusChanged.php index 5f7953efc..d78a83308 100644 --- a/app/Domains/Auth/Events/User/UserStatusChanged.php +++ b/app/Domains/Auth/Events/User/UserStatusChanged.php @@ -26,7 +26,7 @@ class UserStatusChanged * UserStatusChanged constructor. * * @param User $user - * @param $status + * @param $status */ public function __construct(User $user, $status) { diff --git a/app/Domains/Auth/Events/User/UserUpdated.php b/app/Domains/Auth/Events/User/UserUpdated.php index a4b37b370..7e9da52b4 100644 --- a/app/Domains/Auth/Events/User/UserUpdated.php +++ b/app/Domains/Auth/Events/User/UserUpdated.php @@ -18,7 +18,7 @@ class UserUpdated public $user; /** - * @param $user + * @param $user */ public function __construct(User $user) { diff --git a/app/Domains/Auth/Http/Controllers/Backend/User/DeactivatedUserController.php b/app/Domains/Auth/Http/Controllers/Backend/User/DeactivatedUserController.php index 75dd9b898..9322febeb 100644 --- a/app/Domains/Auth/Http/Controllers/Backend/User/DeactivatedUserController.php +++ b/app/Domains/Auth/Http/Controllers/Backend/User/DeactivatedUserController.php @@ -37,7 +37,7 @@ public function index() /** * @param Request $request * @param User $user - * @param $status + * @param $status * @return mixed * * @throws \App\Exceptions\GeneralException diff --git a/app/Domains/Auth/Http/Controllers/Frontend/Auth/LoginController.php b/app/Domains/Auth/Http/Controllers/Frontend/Auth/LoginController.php index f99ad03a8..6c0916b6a 100644 --- a/app/Domains/Auth/Http/Controllers/Frontend/Auth/LoginController.php +++ b/app/Domains/Auth/Http/Controllers/Frontend/Auth/LoginController.php @@ -93,7 +93,7 @@ protected function attemptLogin(Request $request) * The user has been authenticated. * * @param Request $request - * @param $user + * @param $user * @return mixed */ protected function authenticated(Request $request, $user) diff --git a/app/Domains/Auth/Http/Controllers/Frontend/Auth/SocialController.php b/app/Domains/Auth/Http/Controllers/Frontend/Auth/SocialController.php index a6d393826..14ab2f005 100644 --- a/app/Domains/Auth/Http/Controllers/Frontend/Auth/SocialController.php +++ b/app/Domains/Auth/Http/Controllers/Frontend/Auth/SocialController.php @@ -12,7 +12,7 @@ class SocialController { /** - * @param $provider + * @param $provider * @return \Symfony\Component\HttpFoundation\RedirectResponse */ public function redirect($provider) @@ -21,7 +21,7 @@ public function redirect($provider) } /** - * @param $provider + * @param $provider * @param UserService $userService * @return \Illuminate\Http\RedirectResponse * diff --git a/app/Domains/Auth/Http/Middleware/AdminCheck.php b/app/Domains/Auth/Http/Middleware/AdminCheck.php index e6734bb8a..7fe919ac4 100644 --- a/app/Domains/Auth/Http/Middleware/AdminCheck.php +++ b/app/Domains/Auth/Http/Middleware/AdminCheck.php @@ -11,7 +11,7 @@ class AdminCheck { /** - * @param $request + * @param $request * @param Closure $next * @return mixed */ diff --git a/app/Domains/Auth/Http/Middleware/PasswordExpires.php b/app/Domains/Auth/Http/Middleware/PasswordExpires.php index 7d15544bf..f1076a0a0 100644 --- a/app/Domains/Auth/Http/Middleware/PasswordExpires.php +++ b/app/Domains/Auth/Http/Middleware/PasswordExpires.php @@ -11,7 +11,7 @@ class PasswordExpires { /** - * @param $request + * @param $request * @param Closure $next * @return \Illuminate\Http\RedirectResponse|mixed * diff --git a/app/Domains/Auth/Http/Middleware/SuperAdminCheck.php b/app/Domains/Auth/Http/Middleware/SuperAdminCheck.php index 67d3e44be..40335f8c9 100644 --- a/app/Domains/Auth/Http/Middleware/SuperAdminCheck.php +++ b/app/Domains/Auth/Http/Middleware/SuperAdminCheck.php @@ -10,7 +10,7 @@ class SuperAdminCheck { /** - * @param $request + * @param $request * @param Closure $next * @return mixed */ diff --git a/app/Domains/Auth/Http/Middleware/TwoFactorAuthenticationStatus.php b/app/Domains/Auth/Http/Middleware/TwoFactorAuthenticationStatus.php index aac56b3dd..4891def34 100644 --- a/app/Domains/Auth/Http/Middleware/TwoFactorAuthenticationStatus.php +++ b/app/Domains/Auth/Http/Middleware/TwoFactorAuthenticationStatus.php @@ -10,7 +10,7 @@ class TwoFactorAuthenticationStatus { /** - * @param $request + * @param $request * @param Closure $next * @param string $status * @return mixed diff --git a/app/Domains/Auth/Http/Middleware/UserCheck.php b/app/Domains/Auth/Http/Middleware/UserCheck.php index fdd682e36..9311f39b0 100644 --- a/app/Domains/Auth/Http/Middleware/UserCheck.php +++ b/app/Domains/Auth/Http/Middleware/UserCheck.php @@ -11,7 +11,7 @@ class UserCheck { /** - * @param $request + * @param $request * @param Closure $next * @return mixed */ diff --git a/app/Domains/Auth/Http/Middleware/UserTypeCheck.php b/app/Domains/Auth/Http/Middleware/UserTypeCheck.php index c065fd3f7..9bbb1a1fc 100644 --- a/app/Domains/Auth/Http/Middleware/UserTypeCheck.php +++ b/app/Domains/Auth/Http/Middleware/UserTypeCheck.php @@ -10,9 +10,9 @@ class UserTypeCheck { /** - * @param $request + * @param $request * @param Closure $next - * @param $type + * @param $type * @return mixed */ public function handle($request, Closure $next, $type) diff --git a/app/Domains/Auth/Listeners/RoleEventListener.php b/app/Domains/Auth/Listeners/RoleEventListener.php index 0c631e610..b3ca36154 100644 --- a/app/Domains/Auth/Listeners/RoleEventListener.php +++ b/app/Domains/Auth/Listeners/RoleEventListener.php @@ -12,7 +12,7 @@ class RoleEventListener { /** - * @param $event + * @param $event */ public function onCreated($event) { @@ -29,7 +29,7 @@ public function onCreated($event) } /** - * @param $event + * @param $event */ public function onUpdated($event) { @@ -46,7 +46,7 @@ public function onUpdated($event) } /** - * @param $event + * @param $event */ public function onDeleted($event) { diff --git a/app/Domains/Auth/Listeners/UserEventListener.php b/app/Domains/Auth/Listeners/UserEventListener.php index ac430c7ca..dfd3cd955 100644 --- a/app/Domains/Auth/Listeners/UserEventListener.php +++ b/app/Domains/Auth/Listeners/UserEventListener.php @@ -17,7 +17,7 @@ class UserEventListener { /** - * @param $event + * @param $event */ public function onLoggedIn($event) { @@ -29,7 +29,7 @@ public function onLoggedIn($event) } /** - * @param $event + * @param $event */ public function onPasswordReset($event) { @@ -39,7 +39,7 @@ public function onPasswordReset($event) } /** - * @param $event + * @param $event */ public function onCreated($event) { @@ -60,7 +60,7 @@ public function onCreated($event) } /** - * @param $event + * @param $event */ public function onUpdated($event) { @@ -79,7 +79,7 @@ public function onUpdated($event) } /** - * @param $event + * @param $event */ public function onDeleted($event) { @@ -89,7 +89,7 @@ public function onDeleted($event) } /** - * @param $event + * @param $event */ public function onRestored($event) { @@ -99,7 +99,7 @@ public function onRestored($event) } /** - * @param $event + * @param $event */ public function onDestroyed($event) { @@ -109,7 +109,7 @@ public function onDestroyed($event) } /** - * @param $event + * @param $event */ public function onStatusChanged($event) { diff --git a/app/Domains/Auth/Models/Traits/Attribute/UserAttribute.php b/app/Domains/Auth/Models/Traits/Attribute/UserAttribute.php index 65bc674bf..30fd16748 100644 --- a/app/Domains/Auth/Models/Traits/Attribute/UserAttribute.php +++ b/app/Domains/Auth/Models/Traits/Attribute/UserAttribute.php @@ -10,7 +10,7 @@ trait UserAttribute { /** - * @param $password + * @param $password */ public function setPasswordAttribute($password): void { diff --git a/app/Domains/Auth/Models/Traits/Method/UserMethod.php b/app/Domains/Auth/Models/Traits/Method/UserMethod.php index 51e061530..28302521d 100644 --- a/app/Domains/Auth/Models/Traits/Method/UserMethod.php +++ b/app/Domains/Auth/Models/Traits/Method/UserMethod.php @@ -42,7 +42,7 @@ public function hasAllAccess(): bool } /** - * @param $type + * @param $type * @return bool */ public function isType($type): bool diff --git a/app/Domains/Auth/Models/Traits/Scope/PermissionScope.php b/app/Domains/Auth/Models/Traits/Scope/PermissionScope.php index 2dbafd5d5..3a490072e 100644 --- a/app/Domains/Auth/Models/Traits/Scope/PermissionScope.php +++ b/app/Domains/Auth/Models/Traits/Scope/PermissionScope.php @@ -8,7 +8,7 @@ trait PermissionScope { /** - * @param $query + * @param $query * @return mixed */ public function scopeIsMaster($query) @@ -18,7 +18,7 @@ public function scopeIsMaster($query) } /** - * @param $query + * @param $query * @return mixed */ public function scopeIsParent($query) @@ -27,7 +27,7 @@ public function scopeIsParent($query) } /** - * @param $query + * @param $query * @return mixed */ public function scopeIsChild($query) @@ -36,7 +36,7 @@ public function scopeIsChild($query) } /** - * @param $query + * @param $query * @return mixed */ public function scopeSingular($query) diff --git a/app/Domains/Auth/Models/Traits/Scope/RoleScope.php b/app/Domains/Auth/Models/Traits/Scope/RoleScope.php index 8f3473e4e..33aedc2ac 100644 --- a/app/Domains/Auth/Models/Traits/Scope/RoleScope.php +++ b/app/Domains/Auth/Models/Traits/Scope/RoleScope.php @@ -8,8 +8,8 @@ trait RoleScope { /** - * @param $query - * @param $term + * @param $query + * @param $term * @return mixed */ public function scopeSearch($query, $term) diff --git a/app/Domains/Auth/Models/Traits/Scope/UserScope.php b/app/Domains/Auth/Models/Traits/Scope/UserScope.php index d9c59f7fc..4f4f96384 100644 --- a/app/Domains/Auth/Models/Traits/Scope/UserScope.php +++ b/app/Domains/Auth/Models/Traits/Scope/UserScope.php @@ -8,8 +8,8 @@ trait UserScope { /** - * @param $query - * @param $term + * @param $query + * @param $term * @return mixed */ public function scopeSearch($query, $term) @@ -21,7 +21,7 @@ public function scopeSearch($query, $term) } /** - * @param $query + * @param $query * @return mixed */ public function scopeOnlyDeactivated($query) @@ -30,7 +30,7 @@ public function scopeOnlyDeactivated($query) } /** - * @param $query + * @param $query * @return mixed */ public function scopeOnlyActive($query) @@ -39,8 +39,8 @@ public function scopeOnlyActive($query) } /** - * @param $query - * @param $type + * @param $query + * @param $type * @return mixed */ public function scopeByType($query, $type) @@ -49,7 +49,7 @@ public function scopeByType($query, $type) } /** - * @param $query + * @param $query * @return mixed */ public function scopeAllAccess($query) @@ -60,7 +60,7 @@ public function scopeAllAccess($query) } /** - * @param $query + * @param $query * @return mixed */ public function scopeAdmins($query) @@ -69,7 +69,7 @@ public function scopeAdmins($query) } /** - * @param $query + * @param $query * @return mixed */ public function scopeUsers($query) diff --git a/app/Domains/Auth/Rules/UnusedPassword.php b/app/Domains/Auth/Rules/UnusedPassword.php index 283ac9928..11be82e63 100644 --- a/app/Domains/Auth/Rules/UnusedPassword.php +++ b/app/Domains/Auth/Rules/UnusedPassword.php @@ -22,7 +22,7 @@ class UnusedPassword implements Rule * * UnusedPassword constructor. * - * @param $user + * @param $user */ public function __construct($user) { diff --git a/app/Domains/Auth/Services/UserService.php b/app/Domains/Auth/Services/UserService.php index f1bdaeac2..e1c28ec3f 100644 --- a/app/Domains/Auth/Services/UserService.php +++ b/app/Domains/Auth/Services/UserService.php @@ -31,7 +31,7 @@ public function __construct(User $user) } /** - * @param $type + * @param $type * @param bool|int $perPage * @return mixed */ @@ -68,8 +68,8 @@ public function registerUser(array $data = []): User } /** - * @param $info - * @param $provider + * @param $info + * @param $provider * @return mixed * * @throws GeneralException @@ -205,7 +205,7 @@ public function updateProfile(User $user, array $data = []): User /** * @param User $user - * @param $data + * @param $data * @param bool $expired * @return User * @@ -232,7 +232,7 @@ public function updatePassword(User $user, $data, $expired = false): User /** * @param User $user - * @param $status + * @param $status * @return User * * @throws GeneralException diff --git a/app/Exceptions/GeneralException.php b/app/Exceptions/GeneralException.php index fe4b0f833..6f4d68df4 100644 --- a/app/Exceptions/GeneralException.php +++ b/app/Exceptions/GeneralException.php @@ -22,7 +22,7 @@ class GeneralException extends Exception * @param int $code * @param Throwable|null $previous */ - public function __construct($message = '', $code = 0, Throwable $previous = null) + public function __construct($message = '', $code = 0, ?Throwable $previous = null) { parent::__construct($message, $code, $previous); } diff --git a/app/Exceptions/ReportableException.php b/app/Exceptions/ReportableException.php index 411942b4e..c927502c8 100644 --- a/app/Exceptions/ReportableException.php +++ b/app/Exceptions/ReportableException.php @@ -22,7 +22,7 @@ class ReportableException extends Exception * @param int $code * @param Throwable|null $previous */ - public function __construct($message = '', $code = 0, Throwable $previous = null) + public function __construct($message = '', $code = 0, ?Throwable $previous = null) { parent::__construct($message, $code, $previous); } diff --git a/app/Helpers/Global/GeneralHelper.php b/app/Helpers/Global/GeneralHelper.php index 57e7c5b98..750187fdc 100644 --- a/app/Helpers/Global/GeneralHelper.php +++ b/app/Helpers/Global/GeneralHelper.php @@ -18,7 +18,7 @@ function appName() /** * Create a new Carbon instance from a time. * - * @param $time + * @param $time * @return Carbon * * @throws Exception diff --git a/app/Helpers/Global/LocaleHelper.php b/app/Helpers/Global/LocaleHelper.php index 8748c8c48..100353bb3 100644 --- a/app/Helpers/Global/LocaleHelper.php +++ b/app/Helpers/Global/LocaleHelper.php @@ -3,9 +3,8 @@ use Carbon\Carbon; if (! function_exists('setAllLocale')) { - /** - * @param $locale + * @param $locale */ function setAllLocale($locale) { @@ -17,9 +16,8 @@ function setAllLocale($locale) } if (! function_exists('setAppLocale')) { - /** - * @param $locale + * @param $locale */ function setAppLocale($locale) { @@ -28,9 +26,8 @@ function setAppLocale($locale) } if (! function_exists('setPHPLocale')) { - /** - * @param $locale + * @param $locale */ function setPHPLocale($locale) { @@ -39,9 +36,8 @@ function setPHPLocale($locale) } if (! function_exists('setCarbonLocale')) { - /** - * @param $locale + * @param $locale */ function setCarbonLocale($locale) { @@ -50,9 +46,8 @@ function setCarbonLocale($locale) } if (! function_exists('setLocaleReadingDirection')) { - /** - * @param $locale + * @param $locale */ function setLocaleReadingDirection($locale) { @@ -71,9 +66,8 @@ function setLocaleReadingDirection($locale) } if (! function_exists('getLocaleName')) { - /** - * @param $locale + * @param $locale * @return mixed */ function getLocaleName($locale) diff --git a/app/Helpers/Global/SystemHelper.php b/app/Helpers/Global/SystemHelper.php index c78ca3fb1..60ac65e18 100644 --- a/app/Helpers/Global/SystemHelper.php +++ b/app/Helpers/Global/SystemHelper.php @@ -5,7 +5,7 @@ * Loops through a folder and requires all PHP files * Searches sub-directories as well. * - * @param $folder + * @param $folder */ function includeFilesInFolder($folder) { @@ -27,9 +27,8 @@ function includeFilesInFolder($folder) } if (! function_exists('includeRouteFiles')) { - /** - * @param $folder + * @param $folder */ function includeRouteFiles($folder) { diff --git a/app/Http/Controllers/LocaleController.php b/app/Http/Controllers/LocaleController.php index dbf171133..8a2b5c6c3 100644 --- a/app/Http/Controllers/LocaleController.php +++ b/app/Http/Controllers/LocaleController.php @@ -8,7 +8,7 @@ class LocaleController { /** - * @param $locale + * @param $locale * @return \Illuminate\Http\RedirectResponse */ public function change($locale) diff --git a/app/Models/Traits/Uuid.php b/app/Models/Traits/Uuid.php index 637f73c3d..4cd5a966e 100644 --- a/app/Models/Traits/Uuid.php +++ b/app/Models/Traits/Uuid.php @@ -10,8 +10,8 @@ trait Uuid { /** - * @param $query - * @param $uuid + * @param $query + * @param $uuid * @return mixed */ public function scopeUuid($query, $uuid) diff --git a/app/Services/BaseService.php b/app/Services/BaseService.php index 117318b73..cd52583ad 100644 --- a/app/Services/BaseService.php +++ b/app/Services/BaseService.php @@ -142,7 +142,7 @@ public function get() /** * Get the specified model record from the database. * - * @param $id + * @param $id * @return \Illuminate\Database\Eloquent\Model */ public function getById($id) @@ -155,8 +155,8 @@ public function getById($id) } /** - * @param $item - * @param $column + * @param $item + * @param $column * @param array $columns * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Model|object|null */ @@ -172,7 +172,7 @@ public function getByColumn($item, $column, array $columns = ['*']) /** * Delete the specified model record from the database. * - * @param $id + * @param $id * @return bool|null * * @throws \Exception @@ -263,7 +263,7 @@ public function whereIn($column, $values) /** * Set Eloquent relationships to eager load. * - * @param $relations + * @param $relations * @return $this */ public function with($relations) diff --git a/database/migrations/2020_02_25_034148_create_permission_tables.php b/database/migrations/2020_02_25_034148_create_permission_tables.php index f4fcf646b..597b96475 100644 --- a/database/migrations/2020_02_25_034148_create_permission_tables.php +++ b/database/migrations/2020_02_25_034148_create_permission_tables.php @@ -54,7 +54,7 @@ public function up() ->onDelete('cascade'); $table->primary(['permission_id', $columnNames['model_morph_key'], 'model_type'], - 'model_has_permissions_permission_model_type_primary'); + 'model_has_permissions_permission_model_type_primary'); }); Schema::create($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames, $columnNames) { @@ -70,7 +70,7 @@ public function up() ->onDelete('cascade'); $table->primary(['role_id', $columnNames['model_morph_key'], 'model_type'], - 'model_has_roles_role_model_type_primary'); + 'model_has_roles_role_model_type_primary'); }); Schema::create($tableNames['role_has_permissions'], function (Blueprint $table) use ($tableNames) { diff --git a/database/seeders/Traits/TruncateTable.php b/database/seeders/Traits/TruncateTable.php index 80900fcb0..7a1c622e1 100644 --- a/database/seeders/Traits/TruncateTable.php +++ b/database/seeders/Traits/TruncateTable.php @@ -10,7 +10,7 @@ trait TruncateTable { /** - * @param $table + * @param $table * @return bool */ protected function truncate($table) @@ -23,7 +23,7 @@ protected function truncate($table) return DB::statement('TRUNCATE TABLE '.$table.' RESTART IDENTITY CASCADE'); case 'sqlite': case 'sqlsrv': - return DB::statement('DELETE FROM '.$table); + return DB::statement('DELETE FROM '.$table); } return false;