Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PhanTypeInvalidUnaryOperandNumeric & remove from exceptions #28820

Merged

Conversation

mdeweerd
Copy link
Contributor

Fix PhanTypeInvalidUnaryOperandNumeric & remove from exceptions

Fix by casting result of date() or by adding typing hints.

(This notification indicates a unary '-' or similar is performed on a value that may not be a number).

@mdeweerd mdeweerd force-pushed the fix/PhanTypeInvalidUnaryOperandNumeric branch 2 times, most recently from 2ff311d to fcf5fcc Compare March 13, 2024 18:02
@mdeweerd mdeweerd marked this pull request as ready for review March 13, 2024 18:07
@mdeweerd mdeweerd force-pushed the fix/PhanTypeInvalidUnaryOperandNumeric branch from fcf5fcc to 265adf9 Compare March 13, 2024 21:38
# Fix PhanTypeInvalidUnaryOperandNumeric & remove from exceptions

Fix by casting result of date() or by adding typing hints.

(This notification indicates a unary '-' or similar is performed
on a value that may not be a number).
@mdeweerd mdeweerd force-pushed the fix/PhanTypeInvalidUnaryOperandNumeric branch from 265adf9 to 69be3bb Compare March 14, 2024 18:40
@eldy eldy merged commit f5a0255 into Dolibarr:develop Mar 15, 2024
6 checks passed
@mdeweerd mdeweerd deleted the fix/PhanTypeInvalidUnaryOperandNumeric branch March 15, 2024 09:23
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