Skip to content

Commit f4b135b

Browse files
committed
Update dev dependencies: upgrade PHPStan and related packages to v2, Yoast PHPUnit Polyfills to v4; remove redundant widget padding and TOC margin-bottom in classic-rtl.css
1 parent af2d22a commit f4b135b

10 files changed

Lines changed: 14 additions & 50 deletions

File tree

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
"php": ">=7.4"
2424
},
2525
"require-dev": {
26-
"szepeviktor/phpstan-wordpress": "^1",
26+
"szepeviktor/phpstan-wordpress": "^2",
2727
"phpstan/extension-installer": "^1",
28-
"phpstan/phpstan": "^1",
28+
"phpstan/phpstan": "^2",
2929
"php-stubs/wordpress-stubs": "^6",
3030
"php-stubs/acf-pro-stubs": "^6.5",
3131
"wp-coding-standards/wpcs": "^3",
3232
"dealerdirect/phpcodesniffer-composer-installer": "^1",
33-
"yoast/phpunit-polyfills": "^3",
33+
"yoast/phpunit-polyfills": "^4",
3434
"phpunit/phpunit": "^9 || ^10 || ^11 || ^12"
3535
},
3636
"config": {

includes/frontend/css/styles/classic-rtl.css

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,6 @@ body.wzkb-sidebar-enabled #wzkb-sidebar-primary {
461461
min-width: 0;
462462
}
463463

464-
#wzkb-sidebar-primary .widget {
465-
padding: 20px;
466-
margin-top: 10px;
467-
}
468-
469464
#wzkb-sidebar-primary .widget ul li {
470465
margin-right: 10px;
471466
list-style-type: disc;
@@ -921,11 +916,8 @@ nav.pagination {
921916
}
922917

923918
/* Table of Contents */
924-
.wzkb-toc {
925-
margin-bottom: 2rem;
926-
}
927-
928919
.wzkb-toc--inline {
920+
margin-bottom: 1rem;
929921
background: var(--wzkb-bg-light);
930922
border: 1px solid var(--wzkb-border-light);
931923
border-radius: 6px;

includes/frontend/css/styles/classic-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/frontend/css/styles/classic.css

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,6 @@ body.wzkb-sidebar-enabled #wzkb-sidebar-primary {
463463
min-width: 0;
464464
}
465465

466-
#wzkb-sidebar-primary .widget {
467-
padding: 20px;
468-
margin-top: 10px;
469-
}
470466

471467
#wzkb-sidebar-primary .widget ul li {
472468
margin-left: 10px;
@@ -909,11 +905,8 @@ nav.pagination {
909905
}
910906

911907
/* Table of Contents */
912-
.wzkb-toc {
913-
margin-bottom: 2rem;
914-
}
915-
916908
.wzkb-toc--inline {
909+
margin-bottom: 1rem;
917910
background: var(--wzkb-bg-light);
918911
border: 1px solid var(--wzkb-border-light);
919912
border-radius: 6px;

includes/frontend/css/styles/classic.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/frontend/css/styles/vibrant-rtl.css

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -553,14 +553,6 @@ body.wzkb-sidebar-enabled #wzkb-sidebar-primary {
553553
min-width: 0;
554554
}
555555

556-
#wzkb-sidebar-primary .widget {
557-
padding: 20px;
558-
margin-top: 12px;
559-
background: var(--wzkb-bg-white);
560-
border: 1px solid var(--wzkb-border-light);
561-
border-radius: var(--wzkb-border-radius-md);
562-
}
563-
564556
#wzkb-sidebar-primary .widget ul li {
565557
margin-right: 10px;
566558
list-style-type: disc;
@@ -1010,11 +1002,8 @@ nav.pagination {
10101002
}
10111003

10121004
/* Table of Contents */
1013-
.wzkb-toc {
1014-
margin-bottom: 2rem;
1015-
}
1016-
10171005
.wzkb-toc--inline {
1006+
margin-bottom: 1rem;
10181007
background: var(--wzkb-bg-light);
10191008
border: 1px solid var(--wzkb-border-light);
10201009
border-radius: var(--wzkb-border-radius-md, 6px);

includes/frontend/css/styles/vibrant-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/frontend/css/styles/vibrant.css

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -543,13 +543,6 @@ body.wzkb-sidebar-enabled #wzkb-sidebar-primary {
543543
min-width: 0;
544544
}
545545

546-
#wzkb-sidebar-primary .widget {
547-
padding: 20px;
548-
margin-top: 12px;
549-
background: var(--wzkb-bg-white);
550-
border: 1px solid var(--wzkb-border-light);
551-
border-radius: var(--wzkb-border-radius-md);
552-
}
553546

554547
#wzkb-sidebar-primary .widget ul li {
555548
margin-left: 10px;
@@ -985,11 +978,8 @@ nav.pagination {
985978
}
986979

987980
/* Table of Contents */
988-
.wzkb-toc {
989-
margin-bottom: 2rem;
990-
}
991-
992981
.wzkb-toc--inline {
982+
margin-bottom: 1rem;
993983
background: var(--wzkb-bg-light);
994984
border: 1px solid var(--wzkb-border-light);
995985
border-radius: var(--wzkb-border-radius-md, 6px);

includes/frontend/css/styles/vibrant.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@
5151
"readme.txt"
5252
],
5353
"devDependencies": {
54-
"@wordpress/prettier-config": "^4.44.0",
54+
"@wordpress/prettier-config": "^4.45.0",
5555
"@wordpress/scripts": "^32",
5656
"clean-css-cli": "^5.6.3",
5757
"rtlcss": "^4.3.0",
58-
"terser": "^5.46.2"
58+
"terser": "^5.47.1"
5959
},
6060
"dependencies": {
61-
"@wordpress/icons": "^12.2.0",
61+
"@wordpress/icons": "^13.0.0",
6262
"clsx": "^2.1.1",
6363
"uuid": "^14.0.0"
6464
}

0 commit comments

Comments
 (0)