Skip to content

Conversation

@lucassouzavieira
Copy link
Owner

Also includes some refactor work and code changes to fix php 8.4 deprecations

* improve Collection 'keyOptions' attribute validation

* refactor 'KeyType' class

* fix exception attribute type

* drop support for PHP 8.2
* small refactors for Cursor namespace

* drop no-op collection method 'load'

* refactor AQLFunction exception handling

* small refactors for AQL namespace
* chore[php-8.4]: handle php 8.4 deprecations

* chore[php-8.4]: revert enforcing strict type on 'Admin\Task\Task::'
* feat[inverted-index]: strict typing for base index class

* chore[indexes]: deprecate 'hash' and 'skiplist' index types

* feat[indexes]: base implementation for 'inverted' index

* tests[indexes]: remove ununsed imports

* tests[indexes]: add tests for inverted index

* feat[indexes]: add inverted index implementation
@lucassouzavieira lucassouzavieira self-assigned this Oct 11, 2025

/* Colors */
--primary-color-hue: var(--color-hue-red, --color-hue-phpdocumentor-green);
--primary-color-hue: var(--color-hue-phpdocumentor-green, --color-hue-phpdocumentor-green);

Check warning

Code scanning / Csslint (reported by Codacy)

Expected RBRACE at line 44, col 5. Warning documentation

Expected RBRACE at line 44, col 5.
ul.phpdocumentor-list {
margin-top: 0;
padding-left: var(--spacing-md);
padding-left: var(--spacing-lg);

Check notice

Code scanning / Csslint (reported by Codacy)

Expected () but found 'var(--spacing-lg)'. Note documentation

Expected () but found 'var(--spacing-lg)'.
line-height: normal;
}

.phpdocumentor-on-this-page__content li.-deprecated {

Check notice

Code scanning / Csslint (reported by Codacy)

Element (li.-deprecated) is overqualified, just use .-deprecated without element name. Note documentation

Element (li.-deprecated) is overqualified, just use .-deprecated without element name.
})();
function openSvg(svg) {
// convert to a valid XML source
const as_text = new XMLSerializer().serializeToString(svg);

Check notice

Code scanning / Jshint (reported by Codacy)

Prohibits the use of __iterator__ property due to compatibility issues Note documentation

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
// convert to a valid XML source
const as_text = new XMLSerializer().serializeToString(svg);
// store in a Blob
const blob = new Blob([as_text], { type: "image/svg+xml" });

Check notice

Code scanning / Jshint (reported by Codacy)

Prohibits the use of __iterator__ property due to compatibility issues Note documentation

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
// store in a Blob
const blob = new Blob([as_text], { type: "image/svg+xml" });
// create an URI pointing to that blob
const url = URL.createObjectURL(blob);

Check notice

Code scanning / Jshint (reported by Codacy)

Prohibits the use of __iterator__ property due to compatibility issues Note documentation

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
const blob = new Blob([as_text], { type: "image/svg+xml" });
// create an URI pointing to that blob
const url = URL.createObjectURL(blob);
const win = open(url);

Check notice

Code scanning / Jshint (reported by Codacy)

Prohibits the use of __iterator__ property due to compatibility issues Note documentation

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

var svgs = document.querySelectorAll(".phpdocumentor-uml-diagram svg");
for( var i=0,il = svgs.length; i< il; i ++ ) {
svgs[i].onclick = (evt) => openSvg(evt.target);

Check notice

Code scanning / Jshint (reported by Codacy)

Prohibits the definition of function inside the body of loops Note documentation

Functions declared within loops referencing an outer scoped variable may lead to confusing semantics. (openSvg)
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Phpcs (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.


/* Colors */
--primary-color-hue: var(--color-hue-red, --color-hue-phpdocumentor-green);
--primary-color-hue: var(--color-hue-phpdocumentor-green, --color-hue-phpdocumentor-green);

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected indentation of 2 spaces (indentation) Warning documentation

Expected indentation of 2 spaces (indentation)
/* Base Styles
-------------------------------------------------- */
body {
background-color: #fff;

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected indentation of 2 spaces (indentation) Warning documentation

Expected indentation of 2 spaces (indentation)
word-break: break-all;
line-height: normal;
}

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected indentation of 2 spaces (indentation) Warning documentation

Expected indentation of 2 spaces (indentation)

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected indentation of 2 spaces (indentation) Warning documentation

Expected indentation of 2 spaces (indentation)

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected indentation of 4 spaces (indentation) Warning documentation

Expected indentation of 4 spaces (indentation)
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before {
content: 'C';
background-color: transparent;
background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="-3.05176e-05" y="9.99998" width="14.1422" height="14.1422" transform="rotate(-45 -3.05176e-05 9.99998)" fill="hsl( 4, 57%, 60%)"/></svg>');

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected indentation of 2 spaces (indentation) Warning documentation

Expected indentation of 2 spaces (indentation)
.phpdocumentor-tag-link {
margin-right: var(--spacing-sm);
}
.phpdocumentor-uml-diagram svg {

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected indentation of 2 spaces (indentation) Warning documentation

Expected indentation of 2 spaces (indentation)

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected empty line before rule (rule-empty-line-before) Warning documentation

Expected empty line before rule (rule-empty-line-before)

Check warning

Code scanning / Stylelint (reported by Codacy)

Expected indentation of 2 spaces (indentation) Warning documentation

Expected indentation of 2 spaces (indentation)

Check warning

Code scanning / Stylelint (reported by Codacy)

Unexpected missing end-of-source newline (no-missing-end-of-source-newline) Warning documentation

Unexpected missing end-of-source newline (no-missing-end-of-source-newline)
@lucassouzavieira lucassouzavieira merged commit 30b5560 into main Oct 11, 2025
12 checks passed
@lucassouzavieira lucassouzavieira deleted the develop branch October 11, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants