Warning: The float 3.1987520040840724E+20 is not representable as an int
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
The warning points to vendor/phpstan/tally/src/Complexity/PresetFit.php:146; start by reading the integer cast there and how the preset fit values reach it during vendor/bin/tally accept tmp/tally. Reproduce with the reported command and data, then check the acceptance behavior for out-of-range floats; done means the command handles these values without warnings and accepts the intended cases.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
in https://github.com/phpstan/phpstan-src/pull/7112 I tried to update the expectations as suggested in the CI Summary with:
gh run download 44731016888 -R phpstan/phpstan-src -p 'tally-*' -D tmp/tally
vendor/bin/tally accept tmp/tally
running this command locally gives me (and not expectations changed):
Warning: The float 1.8172022061245683E+76 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.8781584298594225E+75 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 8.593944123082061E+75 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.0088696739884575E+75 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 9.356791175815627E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 5.873353012736305E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 3.896795872577664E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.446058413420491E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 5.013941907644586E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 3.147302344960384E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.510766270849869E+39 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.2069177606313817E+40 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.0455728184031582E+38 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 4.401434758675525E+40 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.4169150147779642E+40 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 8.671517387572264E+40 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.8449632658526047E+39 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.7615646225866164E+40 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.7942022294582593E+41 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 6.915223184631868E+21 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 4.667896571276506E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.930086166816529E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 8.055416953741813E+20 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 5.056467173959602E+78 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.561619320550667E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.6079545082428642E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 3.1987520040840724E+20 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.0078891755907754E+78 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.1335803234667725E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.3392700751020153E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 3.2376940671119917E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.0323335047319844E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 4.183055923892401E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.6257467599084525E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 3.4202625479979964E+76 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 6.012812157497691E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 3.774303362838289E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.8145519355274007E+75 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.8039508531387304E+75 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.819852476721736E+75 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 2.818268204315443E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 1.7690556236093573E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 3.086858506874315E+76 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 8.094685527742716E+19 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Warning: The float 5.081116457360325E+77 is not representable as an int, cast occurred in /Users/staabm/workspace/phpstan-src/vendor/phpstan/tally/src/Complexity/PresetFit.php on line 146
Accepted the numbers of 0 cases.
- Lenguaje dominante
- PHP
- Estrellas
- 83
- Forks
- 0
- Merge medio
- 1 h 34 min
- PR fusionados (30 d)
- 11
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de phpstan/tally
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de phpstan/tally
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
phpstan/phpstan-phpunit#361 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
HE-Arc/le-panier-du-coin#49 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
15.0
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
woocommerce/woocommerce-subscriptions-importer-exporter#298 ·